/* KYGlass OS: KonYe Era 01. Tokens from brand/konye_era01.yaml (palette roles only). */
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/BricolageGrotesque.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(fonts/SpaceGrotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url(fonts/DepartureMono-Regular.woff2) format("woff2"); font-display: swap; }

:root {
  --void: #050708; --frost: #D9FCED; --sapphire: #405FFA; --cyan: #09BBC8;
  --indigo: #3B3664; --ever: #07240F; --gray: #A7B0AA; --lime: #B7FF3C;
  --glass: rgba(217, 252, 237, 0.045); --glass-strong: rgba(5, 7, 8, 0.62);
  --line: rgba(9, 187, 200, 0.28); --line-soft: rgba(217, 252, 237, 0.10);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Departure Mono", "IBM Plex Mono", Menlo, monospace;
  --r: 22px; --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.05, 0.7, 0.1, 1);         /* Material emphasized decelerate (Axel's study) */
  --ease-exit: cubic-bezier(0.3, 0, 0.8, 0.15);     /* leaving / folding away (Hue's motion spec, Oct 15, 2026) */
  --ease-std: cubic-bezier(0.2, 0, 0, 1);           /* small mono fades */
  --ease-sweep: cubic-bezier(0.65, 0, 0.35, 1);     /* light passing, fog clearing */
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--void); color: var(--frost); font: 400 17px/1.6 var(--text); letter-spacing: 0.005em; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
::selection { background: var(--sapphire); color: var(--frost); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12.5px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--frost); color: var(--void); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* TK chips: facts KonYe hasn't confirmed yet (preview builds only) */
.tk { display: inline-block; font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.06em; color: var(--lime); border: 1px dashed rgba(183, 255, 60, 0.6); border-radius: 6px; padding: 0 6px; vertical-align: 0.1em; }

/* ---------- status bar (the OS chrome) ---------- */
.statusbar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); background: linear-gradient(to bottom, rgba(5, 7, 8, 0.86), rgba(5, 7, 8, 0.55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: transform 0.5s var(--ease), opacity 0.4s ease; }
.statusbar .left, .statusbar .right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.statusbar a { color: var(--frost); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.statusbar .crumb { color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statusbar .home-link { color: var(--cyan); }
.menu-btn { font: inherit; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--frost); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background 0.15s ease, transform 0.1s ease; }
.menu-btn:hover { background: var(--glass); }
.menu-btn:active { transform: scale(0.97); }
body.glass-clear .statusbar { transform: translateY(-100%); opacity: 0; }

/* menu = a real nav, plain words first, app names second */
.menu { position: fixed; inset: 0; z-index: 60; display: grid; place-items: start end; padding: 56px var(--gutter) 24px; background: rgba(5, 7, 8, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.menu[hidden] { display: none; }
.menu-panel { width: min(360px, 100%); background: rgba(5, 7, 8, 0.92); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); }
.menu-panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--frost); font: 600 18px/1.2 var(--display); }
.menu-panel a span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--gray); font-weight: 400; text-transform: lowercase; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--glass); }
.menu-panel a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--cyan); }

/* ---------- placeholders (until real photos arrive) ---------- */
.ph { position: relative; overflow: hidden; width: 100%; height: 100%; min-height: 100%; background:
    radial-gradient(60% 70% at 72% 38%, rgba(64, 95, 250, 0.55), transparent 62%),
    radial-gradient(45% 55% at 24% 70%, rgba(9, 187, 200, 0.35), transparent 60%),
    radial-gradient(70% 80% at 50% 110%, rgba(7, 36, 15, 0.95), transparent 70%),
    linear-gradient(160deg, rgba(9, 187, 200, 0.05), #050708 60%); }
.ph[data-tone="ever"] { background: radial-gradient(60% 70% at 30% 35%, rgba(9, 187, 200, 0.28), transparent 60%), radial-gradient(70% 70% at 70% 80%, rgba(59, 54, 100, 0.85), transparent 65%), linear-gradient(200deg, #07240F, #050708 70%); }
.ph[data-tone="indigo"] { background: radial-gradient(55% 60% at 65% 30%, rgba(64, 95, 250, 0.45), transparent 60%), radial-gradient(60% 60% at 25% 75%, rgba(59, 54, 100, 0.9), transparent 65%), linear-gradient(170deg, rgba(59, 54, 100, 0.3), #050708 70%); }
.ph::after { content: attr(data-shot); position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(217, 252, 237, 0.75); background: rgba(5, 7, 8, 0.55); border: 1px dashed rgba(217, 252, 237, 0.3); border-radius: 6px; padding: 3px 7px; }
.ph.photo::after { content: none; }
.photo { object-fit: cover; width: 100%; height: 100%; }

/* ---------- buttons (filled = main, outline = second, text = third) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-fill { background: var(--sapphire); color: var(--frost); border: 1px solid var(--sapphire); }
.btn-fill:hover { filter: brightness(1.12); }
.btn-line { background: rgba(5, 7, 8, 0.6); color: var(--frost); border: 1px solid var(--cyan); }
.btn-line:hover { background: rgba(9, 187, 200, 0.12); }
.btn-text { color: var(--cyan); padding: 0 6px; min-height: 48px; background: none; border: 0; }
.btn-text:hover { color: var(--frost); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---------- 1. lock screen (curious) ---------- */
.lock { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; }
.lock .wall { position: absolute; inset: 0; z-index: -2; }
.lock .wall img { width: 100%; height: 100%; object-fit: cover; }
.lock::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 7, 8, 0.96) 6%, rgba(5, 7, 8, 0.55) 38%, rgba(5, 7, 8, 0.05) 70%); }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.lock-inner { padding: 120px var(--gutter) clamp(36px, 8vh, 84px); width: min(1180px, 100%); margin-inline: auto; }
.lock-time { font-family: var(--mono); color: var(--cyan); margin-bottom: 18px; }
.lock-time b { display: block; font: 300 clamp(44px, 7vw, 76px)/1 var(--display); letter-spacing: -0.02em; color: var(--frost); text-transform: none; margin-top: 6px; }
.lock h1 { margin: 0; font: 800 clamp(64px, 13vw, 168px)/0.9 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.lock .era { margin: 14px 0 0; color: var(--cyan); }
.lock .line { margin: 18px 0 0; max-width: 30ch; font: 500 clamp(19px, 2.3vw, 26px)/1.35 var(--text); color: var(--frost); text-wrap: balance; }
.lock .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }

/* ---------- 2. home screen + dock (curious → intrigued) ---------- */
.home { padding: clamp(72px, 12vh, 140px) 0 clamp(48px, 8vh, 96px); background: radial-gradient(80% 60% at 50% 0%, rgba(59, 54, 100, 0.35), transparent 70%); }
.screen { border: 1px solid var(--line-soft); border-radius: 34px; padding: clamp(18px, 3vw, 34px); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow), inset 0 1px 0 rgba(217, 252, 237, 0.06); }
.screen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; color: var(--gray); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.app a { display: grid; gap: 10px; text-decoration: none; color: var(--frost); }
.app .icon { aspect-ratio: 1; border-radius: 24%; border: 1px solid var(--line-soft); box-shadow: var(--shadow); transition: transform 0.25s var(--ease), border-color 0.2s ease; }
.app .icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.app a:hover .icon { transform: translateY(-4px); border-color: var(--line); }
.app .lbl { font: 700 15px/1.15 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.app .lbl small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.06em; color: var(--gray); text-transform: lowercase; margin-top: 3px; }
.app .desc { font-size: 14px; line-height: 1.4; color: var(--gray); }
.app.quiet .icon { border: 1px solid var(--cyan); box-shadow: none; background-blend-mode: luminosity; filter: saturate(0.6); }
.dock { margin-top: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; border-radius: 26px; background: rgba(5, 7, 8, 0.55); border: 1px solid var(--line-soft); }
.dock a { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; border-radius: 18px; text-decoration: none; color: var(--frost); transition: background 0.15s ease; }
.dock a:hover { background: var(--glass); }
.dock a b { font: 700 17px/1 var(--mono); letter-spacing: 0.1em; }
.dock a span { font-size: 12.5px; color: var(--gray); text-align: center; }
.dock a.main { background: var(--sapphire); }
.dock a.main span { color: var(--frost); }

/* ---------- widgets ---------- */
.band { padding: clamp(56px, 9vh, 110px) 0; }
.band-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 22px; }
.band-title h2 { margin: 0; font: 800 clamp(30px, 4.4vw, 54px)/1 var(--display); letter-spacing: -0.02em; }
.band-title .mono { color: var(--cyan); }
.window { border: 1px solid var(--line); border-radius: var(--r); background: rgba(5, 7, 8, 0.7); overflow: hidden; box-shadow: var(--shadow); }
.window > .bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); color: var(--gray); }
.window > .body { padding: clamp(16px, 2.4vw, 26px); }
.player { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
.player-side { display: grid; align-content: space-between; gap: 18px; }
.player-side h3 { margin: 0; font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--display); }
.mini { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line-soft); }
.mini .cover { width: 54px; height: 54px; flex: none; border-radius: 10px; }
.mini .cover::after { content: none; }
.mini p { margin: 0; font-size: 14px; line-height: 1.35; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.cookies { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cookie { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line-soft); }
.cookie .thumb { width: 72px; height: 72px; border-radius: 12px; }
.cookie .thumb::after { content: none; }
.cookie .tag { color: var(--cyan); }
.cookie p { margin: 2px 0 0; font-weight: 600; line-height: 1.3; }
.spec { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.spec dt, .spec dd { padding: 11px 0; border-bottom: 1px solid var(--line-soft); margin: 0; }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); padding-right: 22px; }
.spec dd { font-weight: 500; }

/* ---------- authored silence + the peak (the glass clears) ---------- */
.silence { min-height: 72vh; display: grid; align-items: center; padding: 0 var(--gutter); }
.silence p { margin: 0 auto; width: min(1180px, 100%); color: var(--gray); font-family: var(--mono); letter-spacing: 0.08em; }
.peak { position: relative; height: 230vh; }
.peak-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.peak-stage .ph, .peak-stage picture, .peak-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peak-frost { position: absolute; inset: 0; z-index: 0; display: none; pointer-events: none; }
.peak-frost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--void), transparent 28%); }
@media (prefers-reduced-motion: no-preference) {
  .peak-stage .ph, .peak-stage > picture > img, .peak-stage > img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
  body.glass-clear .peak-stage .ph, body.glass-clear .peak-stage > picture > img, body.glass-clear .peak-stage > img { transform: scale(1); }
  .js .peak-frost { display: block; transition: opacity 1100ms var(--ease-sweep); }
  .peak.is-clear .peak-frost { opacity: 0; }
}
.peak-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5, 7, 8, 0.75), transparent 45%); }
.peak-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 10vh, 110px); }
.peak-copy h2 { margin: 0; font: 800 clamp(48px, 9.5vw, 150px)/0.92 var(--display); letter-spacing: -0.035em; max-width: 12ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .peak-copy h2 { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease 0.5s, transform 1.1s var(--ease) 0.5s; }
  .js body.glass-clear .peak-copy h2 { opacity: 1; transform: none; }
}

/* ---------- personal (friends + join) ---------- */
.faces { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0 0 30px; padding: 0; }
.faces li { display: grid; justify-items: center; gap: 8px; width: 104px; text-align: center; font-size: 14px; }
.faces .face { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line); }
.faces .face::after { content: none; }
.join-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: center; padding: clamp(22px, 3.4vw, 40px); border-radius: 30px; background: linear-gradient(135deg, rgba(7, 36, 15, 0.9), rgba(59, 54, 100, 0.55)); border: 1px solid var(--line); }
.join-card h2 { margin: 0 0 8px; font: 800 clamp(30px, 4.2vw, 52px)/1 var(--display); letter-spacing: -0.02em; }
.join-card p { margin: 0; color: var(--frost); max-width: 44ch; }
.join-card .actions { display: grid; gap: 10px; }

/* ---------- app pages ---------- */
.app-page { padding: 92px 0 72px; }
.titlebar { display: grid; gap: 8px; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line-soft); }
.titlebar .mono { color: var(--cyan); }
.titlebar h1 { margin: 0; font: 800 clamp(44px, 7.5vw, 96px)/0.95 var(--display); letter-spacing: -0.03em; }
.titlebar p { margin: 6px 0 0; max-width: 60ch; color: var(--gray); font-size: 18px; }
.section-h { margin: 46px 0 16px; font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--display); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); list-style: none; margin: 0; padding: 0; }
.card { border: 1px solid var(--line-soft); border-radius: var(--r); background: rgba(5, 7, 8, 0.7); overflow: hidden; transition: transform 0.25s var(--ease), border-color 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line); }
.card .media { aspect-ratio: 16 / 9; }
.card .media.square { aspect-ratio: 1; }
.card .txt { padding: 14px 16px 18px; }
.card .txt .mono { color: var(--cyan); }
.card h3 { margin: 6px 0 4px; font: 700 19px/1.2 var(--display); }
.card p { margin: 0; color: var(--gray); font-size: 15px; }
.card .links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.card .links a { min-width: 24px; justify-content: center; }  /* one-letter labels ("X") still get a 24px tap target */
.email-card .actions { display: flex; flex-wrap: wrap; gap: 10px; }  /* EMAIL ME + COPY EMAIL */
.songs { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.song { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); border: 1px solid var(--line-soft); background: rgba(5, 7, 8, 0.7); }
.song .cover { width: 92px; height: 92px; border-radius: 14px; }
.song .cover::after { content: none; }
.song iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; }
.empty-embed { min-height: 64px; display: grid; align-items: center; padding: 0 14px; border-radius: 12px; border: 1px dashed var(--line-soft); color: var(--gray); font-size: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.timeline .mono { color: var(--cyan); }
.timeline h3 { margin: 4px 0 2px; font: 700 21px/1.2 var(--display); }
.timeline p { margin: 0; color: var(--gray); }
.form { display: grid; gap: 16px; max-width: 720px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 15px; }
.form label small { font-weight: 400; color: var(--gray); }
.form input, .form select, .form textarea { font: inherit; color: var(--frost); background: rgba(5, 7, 8, 0.8); border: 1px solid var(--line-soft); border-radius: 12px; padding: 13px 14px; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(9, 187, 200, 0.2); }
.form fieldset { border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.form legend { padding: 0 6px; font-weight: 600; font-size: 15px; }
.form fieldset label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.form fieldset input { min-height: auto; accent-color: var(--sapphire); }
.note { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line); color: var(--gray); font-size: 15px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair .ph, .pair img { aspect-ratio: 4 / 5; border-radius: var(--r); }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 1em; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lists .window .body p { color: var(--gray); margin: 0 0 18px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line-soft); padding: 34px 0 44px; color: var(--gray); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: end; }
.foot .tag { font: 800 clamp(20px, 2.6vw, 30px)/1.1 var(--display); color: var(--frost); letter-spacing: -0.01em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: end; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.foot nav a { color: var(--gray); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.foot nav a:hover { color: var(--cyan); }
.foot small { display: block; margin-top: 10px; }

/* ---------- reveal (gentle, opacity-led) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- mobile (art-directed, not shrunk) ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .player, .split, .join-card, .lists, .foot .wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot nav { justify-content: start; }
  .lock { align-items: end; }
  .lock .actions .btn { flex: 1 1 140px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .statusbar .crumb { display: none; }
  .dock a span { font-size: 11.5px; }
  .peak { height: 190vh; }
  .song { grid-template-columns: 1fr; }
  .song .cover { width: 100%; height: auto; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .peak-copy h2 { opacity: 1; transform: none; transition: none; }
  .peak-stage .ph, .peak-stage img, .statusbar, .app .icon, .card { transition: none; transform: none; }
  .peak { height: auto; }
  .peak-stage { position: relative; }
}
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .cards.two { grid-template-columns: 1fr; } }

/* ---------- video carousel ---------- */
.carousel { margin-top: 18px; }
.car-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--cyan); }
.car-nav { display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5, 7, 8, 0.6); color: var(--frost); font-size: 18px; cursor: pointer; transition: background 0.15s ease, transform 0.1s ease; }
.car-btn:hover { background: var(--glass); }
.car-btn:active { transform: scale(0.95); }
.car-track { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--indigo) transparent; overscroll-behavior-x: contain; }
.car-item { scroll-snap-align: start; }
.vid { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; background: var(--void); cursor: pointer; transition: border-color 0.2s ease, transform 0.25s var(--ease); }
.vid:hover { border-color: var(--line); transform: translateY(-2px); }
.vid img { width: 100%; height: 100%; object-fit: cover; }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--void); }
.vid .play { position: absolute; left: 12px; bottom: 12px; width: 48px; height: 48px; border: 1px solid rgba(5, 7, 8, 0.6); display: grid; place-items: center; border-radius: 50%; background: var(--sapphire); color: var(--frost); font-size: 18px; box-shadow: var(--shadow); }
.vid.playing { cursor: default; transform: none; }
.car-title { margin: 10px 2px 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
@media (max-width: 860px) { .car-track { grid-auto-columns: 78%; } }

/* ---------- music player ---------- */
.player-box { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(140deg, rgba(7, 36, 15, 0.75), rgba(5, 7, 8, 0.85) 55%); padding: clamp(14px, 2.4vw, 24px); box-shadow: var(--shadow); }
.pl-now { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.player-box.compact .pl-now { grid-template-columns: 64px 1fr; gap: 12px; }
.pl-cover { aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.pl-cover .ph::after { content: none; }
.pl-meta { display: grid; gap: 6px; min-width: 0; }
.pl-meta .mono { color: var(--cyan); }
.pl-title { font: 700 clamp(19px, 2.2vw, 26px)/1.15 var(--display); }
.player-box.compact .pl-title { font-size: 16px; }
.pl-ctrls { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; margin-top: 4px; }
.pl-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--sapphire); cursor: pointer; display: grid; place-items: center; transition: transform 0.1s ease, background 0.15s ease; }
.pl-play:hover { filter: brightness(1.12); }
.pl-play:active { transform: scale(0.95); }
.pl-play:disabled { opacity: 0.45; cursor: not-allowed; }
.i-play { width: 0; height: 0; border-left: 15px solid var(--frost); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.pl-play.on .i-play { width: 14px; height: 16px; border: 0; margin: 0; background: linear-gradient(90deg, var(--frost) 0 35%, transparent 35% 65%, var(--frost) 65%); }
.pl-seek { width: 100%; min-height: 24px; accent-color: var(--cyan); }
.pl-time { color: var(--gray); min-width: 44px; text-align: right; }
.pl-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.pl-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-soft); }
.pl-track { flex: 1; text-align: left; font: 600 16px/1.3 var(--text); color: var(--frost); background: none; border: 0; padding: 14px 4px; cursor: pointer; display: flex; gap: 14px; align-items: center; }
.pl-track .mono { color: var(--gray); }
.pl-track[aria-current="true"] { color: var(--cyan); }
.pl-track.off { cursor: default; color: var(--gray); }
.pl-list small { color: var(--gray); font-size: 13px; }
.pl-empty { margin: 14px 0 0; color: var(--gray); font-size: 14px; }

/* ---------- channel ---------- */
.channel-banner { aspect-ratio: 16 / 5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); margin-bottom: 22px; }
.channel-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.channel-row h2 { margin: 0; font: 800 clamp(26px, 3.4vw, 40px)/1 var(--display); }
.channel-row p { margin: 6px 0 0; color: var(--gray); }
.bio-lead { margin: 0 0 18px; font: 700 clamp(26px, 3.6vw, 44px)/1.15 var(--display); letter-spacing: -0.01em; max-width: 22ch; text-wrap: balance; }

.pl-video { margin-top: 14px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--void); }
.pl-video[hidden] { display: none; }
.pl-video iframe { width: 100%; height: 100%; border: 0; }
.car-pause { font-size: 13px; }
.latest::after { content: none; }
.latest-txt { position: absolute; left: clamp(16px, 3vw, 28px); top: clamp(16px, 3vw, 28px); display: grid; gap: 6px; text-align: left; color: var(--frost); }
.latest-txt .mono { color: var(--cyan); }
.latest-txt b { font: 800 clamp(26px, 3.4vw, 44px)/1 var(--display); letter-spacing: -0.02em; }
.latest-txt small { color: var(--gray); font-size: 14px; }
.vid .ph::after { left: auto; right: 12px; }
.latest { position: absolute; inset: 0; display: block; }

/* compact (home) player: three songs stacked to choose from */
.player-box.compact .pl-list { margin-top: 12px; }
.player-box.compact .pl-track { padding: 8px 4px; font-size: 15px; gap: 12px; }
.pl-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.pl-eq { margin-left: auto; width: 14px; height: 12px; opacity: 0; background: linear-gradient(90deg, var(--cyan) 0 3px, transparent 3px 5.5px, var(--cyan) 5.5px 8.5px, transparent 8.5px 11px, var(--cyan) 11px 14px); clip-path: polygon(0 40%, 3px 40%, 3px 0, 5.5px 0, 5.5px 70%, 8.5px 70%, 8.5px 20%, 11px 20%, 11px 55%, 14px 55%, 14px 100%, 0 100%); }
.pl-track[aria-current="true"] .pl-eq { opacity: 1; }
.player-box.compact .pl-ctrls { grid-template-columns: 44px 1fr auto; }
.player-box.compact .pl-play { width: 44px; height: 44px; }

/* Tap targets: text links that act as buttons get at least 24px of height (WCAG 2.2 SC 2.5.8) */
.bar a, .band-title a, .txt a.mono, .txt a { display: inline-flex; align-items: center; min-height: 28px; }

/* Six home apps: 6 across on wide screens, 3 across on tablets, 2 below 860px (mobile block) */
@media (min-width: 861px) and (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.faces img.face { object-fit: cover; }
.card .media img.photo { width: 100%; height: 100%; object-fit: cover; }
.pull { margin: 34px 0 10px; padding-left: 18px; border-left: 2px solid var(--cyan); font: 700 clamp(22px, 3vw, 30px)/1.25 var(--display); color: var(--frost); max-width: 30ch; }
.bio-why { color: var(--gray); }
.about-hero { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); margin: 6px 0 26px; }
@media (max-width: 860px) { .about-hero { aspect-ratio: 4 / 5; } }
.car-credit { display: block; color: var(--gray); font-size: 13px; margin-top: 2px; }
/* Live stats: one card + one line chart per channel (single series: no legend, the handle names it) */
.stats-note { color: var(--gray); margin: -6px 0 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 18px; background: rgba(5, 7, 8, 0.7); }
.stat-head { display: grid; gap: 2px; }
.stat-head .mono { color: var(--cyan); }
.stat-num { font: 800 clamp(34px, 5vw, 48px)/1 var(--display); font-variant-numeric: tabular-nums; color: var(--frost); }
.stat-head small, .stat-sub { color: var(--gray); font-variant-numeric: tabular-nums; }
.stat-sub { margin: 8px 0 10px; font-size: 14px; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; }
.chart .g { stroke: rgba(217, 252, 237, 0.08); stroke-width: 1; }
.chart .ax { fill: var(--gray); font: 11px var(--mono); font-variant-numeric: tabular-nums; }
.chart .area { fill: rgba(9, 187, 200, 0.12); }
.chart .ln { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .end { fill: var(--cyan); stroke: var(--void); stroke-width: 2; }
.chart .xh, .chart .dot { display: none; }
.chart.hover .xh, .chart.hover .dot { display: inline; }
.chart .xh { stroke: rgba(217, 252, 237, 0.35); stroke-width: 1; }
.chart .dot { fill: var(--frost); stroke: var(--void); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .tip { position: absolute; top: -6px; transform: translateX(-50%); background: var(--void); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; color: var(--frost); white-space: nowrap; pointer-events: none; }
.stat-table { margin-top: 10px; color: var(--gray); font-size: 14px; }
.stat-table summary { cursor: pointer; min-height: 28px; display: flex; align-items: center; }
.stat-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stat-table td, .stat-table th { text-align: left; padding: 4px 0; border-bottom: 1px solid var(--line-soft); }
.visits { text-align: center; color: var(--gray); padding: 0 0 28px; margin: 0; }

/* ---------- Friends List: rows of 5, find-a-friend tools, loads as you scroll ---------- */
.cards.five { grid-template-columns: repeat(5, 1fr); }
.cards.five .card h3 { font-size: 17px; }
.cards.five .card p { font-size: 14px; }
.cards.five .card .txt { padding: 12px 14px 16px; }
.cards.five .ftags { margin-top: 6px; color: var(--cyan); font-size: 11px; line-height: 1.4; }
@media (max-width: 1100px) { .cards.five { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .cards.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cards.five { grid-template-columns: repeat(2, 1fr); } }
.friend-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: -6px 0 26px; }
.ft-field { display: grid; gap: 6px; flex: 1 1 180px; min-width: 0; }
.ft-field.ft-search { flex: 2 1 260px; }
.ft-field .mono { color: var(--gray); font-size: 11.5px; }
.ft-field input, .ft-field select { font: 400 16px/1.2 var(--text); color: var(--frost); background: rgba(5, 7, 8, 0.7); border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 46px; padding: 0 14px; width: 100%; }
.ft-field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.ft-field select option { background: var(--void); color: var(--frost); }
.ft-field input::placeholder { color: var(--gray); opacity: 0.8; }
.ft-clear { min-height: 46px; }
.ft-count { flex-basis: 100%; margin: 0; color: var(--gray); }
.ft-panel { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 14px; }
.ft-count { order: 4; }
.ft-toggle { display: none; padding: 0 20px; font-size: 14px; }
@media (max-width: 600px) {
  .friend-tools .ft-search { flex-basis: 100%; }
  .ft-toggle { display: inline-flex; flex: 1 1 auto; }
  .ft-panel { display: none; grid-template-columns: 1fr 1fr; }
  .friend-tools.open .ft-panel { display: grid; }
}
.friends .card.reveal { transition-delay: var(--d, 0ms); }
.card.ghost { opacity: 0.5; filter: grayscale(1); border-style: dashed; background: transparent; }
.card.ghost:hover { transform: none; border-color: var(--line-soft); }
.card.ghost .media { display: grid; place-items: center; background: var(--glass); }
.ghost-plus { font: 300 clamp(40px, 5vw, 64px)/1 var(--display); color: var(--gray); }
.friends-empty { color: var(--gray); margin: 18px 0 0; }
.friends-more { height: 1px; }
.friend-tools[hidden], .friends .card[hidden], .friends-empty[hidden] { display: none; }

/* ---------- Friends List: tap a card, read their bio (native <dialog>: Esc, focus and screen readers built in) ---------- */
.friends .card { position: relative; }
.friend-open { all: unset; cursor: pointer; display: inline-flex; align-items: center; min-height: 28px; }
.friend-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* whole card is the tap target */
.friend-open:focus-visible { outline: none; }
.friends .card:has(.friend-open:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.friends .card .links { position: relative; z-index: 1; }  /* their links stay tappable above the card button */
.cards.five .fmore { margin-top: 8px; color: var(--frost); font-size: 11px; opacity: 0.75; }
.friends .card:hover .fmore { opacity: 1; color: var(--cyan); }
.friend-sheet { width: min(860px, 100% - 2 * var(--gutter)); max-height: min(88vh, 900px); padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: rgba(5, 7, 8, 0.94); color: var(--frost); box-shadow: var(--shadow); overflow: auto; }
.friend-sheet::backdrop { background: rgba(5, 7, 8, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.friend-sheet[open] { animation: fs-in 0.45s var(--ease); }
@keyframes fs-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.fs-inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fs-media { aspect-ratio: 1; align-self: start; }
.fs-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.fs-body { padding: clamp(20px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.fs-kicker { color: var(--cyan); }
.fs-body h2 { margin: 0; font: 800 clamp(30px, 4vw, 44px)/1 var(--display); letter-spacing: -0.02em; }
.fs-line { margin: 0; color: var(--gray); font-size: 17px; }
.fs-bio p { margin: 0 0 12px; line-height: 1.65; }
.fs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fs-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--frost); }
.fs-links a:hover { background: var(--glass); border-color: var(--cyan); }
.fs-close { position: absolute; top: 12px; right: 12px; z-index: 2; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 7, 8, 0.75); color: var(--frost); cursor: pointer; }
.fs-close:hover { border-color: var(--cyan); }
@media (max-width: 700px) {
  .friend-sheet { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: var(--r) var(--r) 0 0; }
  .fs-inner { grid-template-columns: 1fr; }
  .fs-media { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .friend-sheet[open] { animation: none; } }

/* Friends List hook cards: photo, name, one-line hook, "Read bio" (tags and links live in the bio sheet) */
.friends .card .media { overflow: hidden; }
.friends .card .media img.photo { transition: transform 0.9s var(--ease); }
.friends .card:hover .media img.photo, .friends .card:has(.friend-open:focus-visible) .media img.photo { transform: scale(1.05); }
.friends .card .fline { color: var(--frost); opacity: 0.86; font-size: 15px; line-height: 1.45; }
.friends .card h3 .friend-open { font: inherit; }
.fs-links > div { display: contents; }
@media (prefers-reduced-motion: reduce) { .friends .card .media img.photo { transition: none; transform: none; } }

/* ---------- Wins (Cookie Jar) with real thumbnails, home cookie thumbs, archive covers ---------- */
.win-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 8px; }
.win-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--frost); text-decoration: none; font-size: 12px; }
.win-jump a b { color: var(--cyan); font-weight: 400; }
.win-jump a:hover { background: var(--glass); border-color: var(--cyan); }
.cards.wins .card { position: relative; }
.win-media { position: relative; overflow: hidden; background: var(--void); }
.win-media img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cards.wins .card:hover .win-media img.photo { transform: scale(1.04); }
.win-media.art::before { content: ""; position: absolute; inset: -30px; background: var(--art) center / cover; filter: blur(26px) brightness(0.55) saturate(1.2); }
.win-media.art img.photo { position: relative; object-fit: contain; padding: 10px 0; }
.win-media .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(5, 7, 8, 0.6); border: 1px solid rgba(217, 252, 237, 0.5); color: var(--frost); font-size: 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.win-chip { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(5, 7, 8, 0.7); border: 1px solid var(--line); color: var(--cyan); font-size: 10.5px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.win-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* whole card opens the proof */
.cookie img.thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
/* YouTube's hqdefault preview of someone else's video (not copied, by rule) is 4:3 with black bars baked in.
   In a square, crop the bars off: same image, no extra bytes (wins in date order, Oct 18, 2026) */
.cookie img.thumb.yt-bars { clip-path: inset(13% round 9px); transform: scale(1.3514); }
.timeline li.drop { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.drop-cover { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow); }
.drop-credits { margin: 4px 0 6px; color: var(--gray); font-size: 14px; }
.timeline li.drop a.mono { display: inline-block; min-height: 24px; padding: 4px 0; }  /* tap target ≥ 24px on phones */
.timeline li.drop::before { top: 44px; }
@media (prefers-reduced-motion: reduce) { .win-media img.photo { transition: none; transform: none; } }

/* ---------- LIVE MOVEMENT (Hue's spec, Oct 14, 2026): growth lines like a stock chart, Era 01 colors ---------- */
:root { --ln-music: var(--sapphire); --ln-content: var(--frost); --ln-tiktok: var(--cyan);
  --up-bg: rgba(9, 187, 200, 0.14); --up-edge: rgba(9, 187, 200, 0.45); --down-bg: rgba(167, 176, 170, 0.10);
  --down-edge: rgba(167, 176, 170, 0.35); --base: rgba(217, 252, 237, 0.28); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.growth { margin: 48px 0 8px; }
.growth-lockup .mono { color: var(--cyan); }
.growth-lockup h2 { margin: 6px 0 8px; font: 800 clamp(30px, 4.4vw, 54px)/1 var(--display); letter-spacing: -0.02em; }
.growth-line { margin: 0 0 22px; max-width: 40ch; font: 500 clamp(17px, 2vw, 20px)/1.4 var(--text); color: var(--frost); }
.gm-sample { display: inline-block; margin: 0 0 14px; padding: 4px 10px; border: 1px dashed var(--cyan); border-radius: 8px; color: var(--cyan); font-size: 11.5px; }
.gm-empty { color: var(--gray); }
.gm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .gm-grid { grid-template-columns: minmax(0, 1fr); } }
.gm-labelrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gm-label { color: var(--gray); }
.gm-big { margin: 6px 0 8px; font: 800 clamp(48px, 9vw, 84px)/0.95 var(--display); letter-spacing: -0.03em; color: var(--frost); font-variant-numeric: tabular-nums; }
.gm-approx { font-size: 12px; color: var(--gray); margin-left: 8px; vertical-align: 0.6em; }
.gm-change { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gm-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 14px; font-variant-numeric: tabular-nums; border: 1px solid transparent; white-space: nowrap; }
.gm-pill.up { color: var(--frost); background: var(--up-bg); border-color: var(--up-edge); }
.gm-pill.up::first-letter { color: var(--cyan); }
.gm-pill.down { color: var(--gray); background: var(--down-bg); border-color: var(--down-edge); }
.gm-pill.flat { color: var(--gray); }
.gm-words { color: var(--gray); font-size: 15px; }
.gm-updated { color: var(--gray); font-size: 11.5px; margin: 8px 0 16px; }
.gm-toggle { display: inline-flex; border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px; gap: 2px; }
.gm-toggle[hidden] { display: none; }
.gm-toggle button { font: inherit; font-size: 12px; letter-spacing: 0.06em; color: var(--gray); background: none; border: 0; border-radius: 999px; min-height: 36px; padding: 0 12px; cursor: pointer; }
.gm-toggle button[aria-checked="true"] { color: var(--frost); background: rgba(217, 252, 237, 0.08); }
.gm-chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2px; }
.gm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); background: none; color: var(--frost); font-size: 12px; letter-spacing: 0.08em; cursor: pointer; scroll-snap-align: start; white-space: nowrap; }
.gm-chip[aria-checked="true"] { background: rgba(217, 252, 237, 0.08); border-color: var(--cyan); }
.gm-chart { position: relative; margin: 14px 0 6px; touch-action: pan-y; outline: none; }
.gm-chart:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 8px; }
.gm-svg { display: block; width: 100%; overflow: visible; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.gm-base { stroke: var(--base); stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; }
.gm-path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gm-glow { fill: none; stroke-width: 8; opacity: 0.22; stroke-linecap: round; stroke-linejoin: round; }
.gm-lag { fill: none; stroke-width: 2; stroke-dasharray: 3 4; opacity: 0.8; }
.gm-gap { fill: none; stroke-width: 1.5; stroke-dasharray: 2 4; opacity: 0.3; }
.gm-fill, .gm-glow, .gm-marker, .gm-direct { opacity: 0; transition: opacity 0.4s ease 0.5s; }
.gm-in .gm-fill, .gm-in .gm-direct, .gm-in .gm-marker { opacity: 1; }
.gm-in .gm-glow { opacity: 0.22; }
.gm-mm text, .gm-x { font: 400 11px var(--mono); letter-spacing: 0.04em; fill: var(--gray); }
.gm-mm text { paint-order: stroke; stroke: rgba(5, 7, 8, 0.85); stroke-width: 4px; }
.gm-direct { font: 400 12px var(--mono); fill: var(--frost); }
.gm-hair { stroke: rgba(217, 252, 237, 0.35); stroke-width: 1; }
.gm-sdot { fill: var(--frost); stroke: var(--void); stroke-width: 2; }
.gm-pulse { transform-box: fill-box; transform-origin: center; animation: gm-pulse 2.4s ease-out 2; }
@keyframes gm-pulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(3); opacity: 0; } }
.gm-flag { position: absolute; top: 0; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--void); color: var(--frost); font-size: 11.5px; white-space: nowrap; pointer-events: none; }
.gm-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.gm-tab { min-height: 44px; min-width: 48px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--gray); font-size: 13px; letter-spacing: 0.08em; cursor: pointer; }
.gm-tab[aria-checked="true"] { color: var(--frost); background: rgba(217, 252, 237, 0.06); }
.gm-tab[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.gm-rows { display: grid; }
.gm-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; align-items: center; gap: 12px; min-height: 72px; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line-soft); background: none; color: var(--frost); text-align: left; font: inherit; cursor: pointer; }
.gm-row[aria-pressed="true"] { box-shadow: inset 2px 0 0 var(--lc); background: rgba(217, 252, 237, 0.03); }
.gm-row-static { cursor: default; }
.gm-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gm-who > span { display: grid; min-width: 0; }
.gm-plat { color: var(--gray); font-size: 11px; }
.gm-handle { font: 600 16px/1.3 var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-nums { display: grid; justify-items: end; gap: 4px; }
.gm-nums b { font: 700 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.gm-nums .gm-pill { font-size: 12px; padding: 2px 8px; }
.gm-notes { margin-top: 14px; color: var(--gray); font-size: 13.5px; }
.gm-notes p { margin: 0 0 8px; }
.gm-table { margin-top: 18px; }
.gm-table summary { cursor: pointer; color: var(--cyan); min-height: 44px; display: flex; align-items: center; }
.gm-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.gm-table th, .gm-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line-soft); }
.gm-table th { color: var(--gray); font: 400 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.growth-mini { grid-column: 1 / -1; margin-top: 18px; }
.gm-big-mini { font-size: clamp(36px, 5vw, 52px); }
@media (max-width: 600px) {
  .gm-chart { margin-inline: -16px; }
  .gm-tab { flex: 1; min-width: 0; padding: 0; }
  .gm-row { grid-template-columns: minmax(0, 1fr) 64px auto; }
  .gm-row .gm-spark { width: 64px; }
}
@media (prefers-reduced-motion: reduce) { .gm-pulse { animation: none; display: none; } .gm-fill, .gm-glow, .gm-marker, .gm-direct { transition: none; } }
.gm-shape .gm-marker { opacity: 1; transition: none; }
.gm-side .gm-row { grid-template-columns: minmax(0, 1fr) 64px auto; gap: 10px; }
.gm-side .gm-row .gm-spark { width: 64px; }
.gm-handle { font-size: 15px; }
/* Hue review fixes (Oct 14, 2026) */
.gm-tabsrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.gm-row { grid-template-columns: minmax(0, 1fr) 96px 88px; }
.gm-side .gm-row { grid-template-columns: minmax(0, 1fr) 64px 88px; }
.gm-pill.flat { background: var(--down-bg); border-color: var(--down-edge); }
@media (max-width: 600px) {
  .gm-tabs { width: 100%; }
  .gm-tabsrow .gm-toggle { margin-left: auto; }
  .gm-row { grid-template-columns: minmax(0, 1fr) 64px 80px; }
}
@media (max-width: 480px) { .gm-long { display: none; } }
.gm-since { margin: 8px 0 0; color: var(--cyan); font-size: 11.5px; }
.gm-since[hidden] { display: none; }

/* Galaxy backdrops (GX01–GX03, Hue's blueprint): a real sky photo under a void scrim; only where KonYe placed them */
.has-sky { position: relative; isolation: isolate; overflow: hidden; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sky::after { content: ""; position: absolute; inset: 0; }
.sky-even::after { background: rgba(5, 7, 8, 0.55); }                                      /* 404, thanks */
.sky-center::after { background: radial-gradient(70% 60% at 50% 55%, rgba(5, 7, 8, 0.82), rgba(5, 7, 8, 0.35)); }  /* home: icons sit in the middle */
.sky-left::after { background: linear-gradient(90deg, rgba(5, 7, 8, 0.85) 0%, rgba(5, 7, 8, 0.55) 45%, rgba(5, 7, 8, 0.2) 100%); }  /* silence: mono line on the left */
.sky-topleft::after { background: linear-gradient(160deg, rgba(5, 7, 8, 0.88) 0%, rgba(5, 7, 8, 0.6) 45%, rgba(5, 7, 8, 0.25) 100%); }  /* join: title block top-left */
/* Page bands (Oct 15, 2026): KonYe's galaxy behind each app page's title, fading to the page background before the
   content, so portraits, cards and reading stay on clean dark. No overflow:hidden here: sticky bars keep working. */
.has-band { position: relative; isolation: isolate; }
.sky-band { bottom: auto; height: min(78vh, 100%); }
.sky-band::after { background: linear-gradient(180deg, rgba(5, 7, 8, 0.6) 0%, rgba(5, 7, 8, 0.74) 52%, var(--void) 100%); }


/* ---------- Age check before contact (KonYe, Oct 15, 2026): every mailto + every link to a person (data-contact) ---------- */
.age-gate { width: min(480px, 100% - 2 * var(--gutter)); padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: rgba(5, 7, 8, 0.96); color: var(--frost); box-shadow: var(--shadow); }
.age-gate::backdrop { background: rgba(5, 7, 8, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ag-inner { display: grid; gap: 12px; padding: clamp(22px, 4vw, 34px); }
.ag-kicker { color: var(--cyan); }
.age-gate h2 { margin: 0; font: 800 clamp(26px, 5vw, 34px)/1.05 var(--display); letter-spacing: -0.02em; }
.age-gate p { margin: 0; color: var(--gray); line-height: 1.6; }
.ag-actions, .ag-no { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ag-no { display: grid; gap: 12px; }
.ag-actions[hidden], .ag-no[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .age-gate[open] { animation: fs-in 0.35s var(--ease); } }

/* ---------- Motion (Hue's spec, Oct 15, 2026): wake, open, close, clear. One set of curves; transform + opacity only ---------- */
/* Phone lock: the date sits mid-photo, so it gets a Void plate (cyan ≈5.7:1 even over highlights); the clock keeps its line */
[data-clock]:empty::before { content: "\00a0"; }
@media (max-width: 860px) { .lock-time [data-date] { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(5, 7, 8, 0.75); } }

/* Moment 1: the lock screen wakes (once per visit). The wallpaper's opacity is never animated (LCP) */
.lock { overflow: clip; }
.wm { white-space: nowrap; }
.wm .ch { display: inline-block; }
.wm .ch:first-child { margin-right: -0.042em; }  /* Bricolage's K–O kern (−42/1000) is lost when the letters are split */
.sheen { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, var(--void) 22%, transparent 42%); mask-image: linear-gradient(to bottom, var(--void) 22%, transparent 42%); }
.sheen::before { content: ""; position: absolute; top: -40%; left: 0; width: max(34vw, 220px); height: 180%;
  background: linear-gradient(90deg, transparent, rgba(217, 252, 237, 0.08), transparent); transform: translateX(calc(-100% - 30vh)) rotate(18deg); }
@keyframes kg-wake { from { transform: scale(1.035); } }
@keyframes kg-fade { from { opacity: 0; } }
@keyframes kg-fade-out { to { opacity: 0; } }
@keyframes kg-rise { from { opacity: 0; transform: translateY(var(--y, 10px)); } }
@keyframes kg-sweep { from { transform: translateX(calc(-100% - 30vh)) rotate(18deg); } to { transform: translateX(calc(100vw + 30vh)) rotate(18deg); } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.intro-seen) .lock .wall { animation: kg-wake 1400ms var(--ease) backwards; }
  html:not(.intro-seen) .lock [data-date] { animation: kg-fade 280ms var(--ease-std) 80ms backwards; }
  html:not(.intro-seen) .lock-time b { --y: 10px; animation: kg-rise 400ms var(--ease) 140ms backwards; }
  html:not(.intro-seen) .wm .ch { --y: 0.3em; animation: kg-rise 500ms var(--ease) calc(260ms + var(--i) * 60ms) backwards; }
  html:not(.intro-seen) .sheen::before { animation: kg-sweep 1000ms var(--ease-sweep) 600ms backwards; }
  html:not(.intro-seen) .lock .era { animation: kg-fade 280ms var(--ease-std) 760ms backwards; }
  html:not(.intro-seen) .lock .line { --y: 8px; animation: kg-rise 400ms var(--ease) 840ms backwards; }
  html:not(.intro-seen) .lock .actions > * { --y: 10px; animation: kg-rise 340ms var(--ease) 940ms backwards; }
  html:not(.intro-seen) .lock .actions > :nth-child(2) { animation-delay: 1000ms; }
  html:not(.intro-seen) .lock .actions > :nth-child(3) { animation-delay: 1060ms; }
  .lock .btn:focus-visible { animation: none; }
}

/* Moment 2: tapping an app zooms its page out of the icon (cross-document View Transitions; Firefox/older = normal load) */
@view-transition { navigation: auto; }
.statusbar { view-transition-name: kg-status; }
::view-transition-group(kg-status) { animation-duration: 200ms; }
@keyframes kg-vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes kg-vt-in { from { opacity: 0; transform: scale(1.015); } }
::view-transition-old(root) { animation: kg-fade-out 160ms var(--ease-exit) both; mix-blend-mode: normal; }   /* launch night: text never animates, it only fades */
::view-transition-new(root) { animation: kg-fade 240ms var(--ease-std) 40ms both; mix-blend-mode: normal; }
html.vt-open::view-transition-old(root), html.vt-open::view-transition-new(root) { animation: none; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root) { animation: kg-fade-out 160ms linear both; }
  ::view-transition-new(root) { animation: kg-fade 160ms linear both; }
}

/* Moment 3a: the apps fold away into the galaxy as you scroll (scroll-driven; no support or reduced motion = today's silence) */
.silence-in { width: min(1180px, 100%); margin: 0 auto; display: grid; gap: 18px; }
.silence-in p { margin: 0; width: auto; }
.fold { display: none; }
@keyframes kg-fold { to { opacity: 0; transform: translate(calc(var(--fx) - var(--i) * (var(--s) + var(--g)) * 0.85), var(--fy)) scale(0.12); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .silence { view-timeline: --silence block; }
    .fold { display: flex; --s: 56px; --g: 12px; --fx: min(58vw, 860px); --fy: -23vh; gap: var(--g); }
    .fold-ic { flex: 0 0 var(--s); width: var(--s); height: var(--s); border-radius: 24%; overflow: hidden; border: 1px solid var(--line-soft); background: var(--glass);
      animation: kg-fold 1ms var(--ease-exit) both;
      animation-timeline: --silence;
      animation-range: cover calc(42% + var(--i) * 1.5%) cover calc(52% + var(--i) * 1.5%); }
    .fold-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
  }
}
@media (max-width: 520px) { .fold { --s: 40px; --g: 10px; --fx: 61vw; } }

/* About: one tall photo between the bio, quote and closing line (KonYe, Oct 15, 2026) */
.about-solo { max-width: 440px; margin: 30px auto; }
/* Archive: tighter, cleaner text (KonYe, Oct 15, 2026: "not so bulky") */
.timeline li.drop h3 { font-size: 18px; line-height: 1.2; margin: 2px 0; }
.timeline li.drop .mono { font-size: 11px; letter-spacing: .06em; }
.drop-credits { font-size: 12.5px; line-height: 1.4; margin: 2px 0 4px; max-width: 52ch; }
.timeline li.drop { gap: 14px; padding-block: 6px; }
.site-version { display: block; margin-top: 6px; opacity: .6; font-size: 11px; letter-spacing: .08em; }

/* ---------- Launch night (Oct 18, 2026): Hue's build order, KonYe's picks ---------- */
/* ← HOME lands on the app grid (index.html#home). Arriving there, the grid shows at once: the page shrinks into it */
.home { scroll-margin-top: 0; }
html.at-home .home .reveal { opacity: 1; transform: none; transition: none; }

/* Trips between apps (head script in base.html). Each class lives only while its transition runs */
html.vt-open::view-transition-old(root), html.vt-open::view-transition-new(root) { animation: none; }
html.vt-close::view-transition-old(root) { animation: none; z-index: 1; }      /* the page shrinks over the home grid */
html.vt-close::view-transition-new(root) { animation: none; }
html.vt-fade::view-transition-old(root) { animation: kg-fade-out 120ms linear both; }   /* Back/Forward, icon off-screen */
html.vt-fade::view-transition-new(root) { animation: kg-fade 160ms linear both; }
html.vt-fade::view-transition-group(*) { animation-duration: 160ms; }
@keyframes kg-swipe-out { to { transform: translateX(-100%); } }
@keyframes kg-swipe-in { from { transform: translateX(100%); } }
html.vt-swipe::view-transition-old(root) { animation: kg-swipe-out 440ms var(--ease) both; }   /* like swiping home screens */
html.vt-swipe::view-transition-new(root) { animation: kg-swipe-in 440ms var(--ease) both; }
/* One sky: the galaxy band is one shared layer that crossfades into the next app's sky, drifting 3% toward it */
html.vt-sky .app-page > .sky { view-transition-name: kg-sky; }
html.vt-sky .app-page > .wrap { view-transition-name: kg-page; }
html.vt-sky::view-transition-group(kg-page) { animation: none; }
html.vt-sky::view-transition-old(kg-page) { animation: kg-fade-out 140ms var(--ease-exit) both; }
html.vt-sky::view-transition-new(kg-page) { animation: kg-fade 240ms var(--ease-std) 60ms both; }
html.vt-sky::view-transition-group(kg-sky) { animation-duration: 420ms; animation-timing-function: var(--ease); }
html.vt-sky::view-transition-old(kg-sky) { animation: kg-sky-out 420ms var(--ease) both; mix-blend-mode: plus-lighter; }
html.vt-sky::view-transition-new(kg-sky) { animation: kg-sky-in 420ms var(--ease) both; mix-blend-mode: plus-lighter; }
@keyframes kg-sky-out { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -3%)); } }
@keyframes kg-sky-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 3%)); } }

/* Little surprises: icons press in, a glass glint (≤12% Frozen Water, never over small text), a "you were here" dot */
.app .icon, .xtile .icon { position: relative; overflow: hidden; }
.dock a { position: relative; overflow: hidden; }
.app .icon::after, .xtile .icon::after, .dock a::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(217, 252, 237, 0.12) 46%, rgba(217, 252, 237, 0.12) 54%, transparent 68%);
  background-size: 300% 100%; background-position: 120% 0; opacity: 0; }
@keyframes kg-glint { from { background-position: 120% 0; opacity: 1; } to { background-position: -20% 0; opacity: 1; } }
.app .icon { transition: transform 0.25s var(--ease), border-color 0.2s ease, filter 0.15s ease; }
.app a:active .icon { transform: scale(0.94); transition-duration: 80ms; }
.dock a:active, .xtile a:active { transform: scale(0.97); }
.dock a, .xtile a { transition: background 0.15s ease, border-color 0.2s ease, transform 0.12s ease; }
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) { .app a:hover .icon::after, .xtile a:hover .icon::after { animation: kg-glint 700ms var(--ease-sweep) 1; } }
  .glint::after { animation: kg-glint 820ms var(--ease-sweep) 80ms 1 both; }
}
@media (prefers-reduced-motion: reduce) {   /* presses change brightness only */
  .app a:active .icon, .dock a:active, .xtile a:active { transform: none; filter: brightness(1.18); }
}
.app.seen .lbl::before, .dock a.seen b::before, .xtile.seen .xt-txt b::before { content: ""; display: inline-block; width: 7px; height: 7px;
  margin-right: 7px; border-radius: 50%; background: var(--cyan); vertical-align: 0.18em; }
.dock a.main.seen b::before { background: var(--frost); }
/* LISTEN in the dock shows tiny bars while a song plays (reduced motion: the bars stand still) */
.dock a[data-app="listen"] b::after { content: ""; display: inline-block; width: 0; height: 11px; margin-left: 0; vertical-align: -1px; opacity: 0;
  background: currentColor; clip-path: polygon(0 100%, 0 40%, 2px 40%, 2px 100%, 4px 100%, 4px 10%, 6px 10%, 6px 100%, 8px 100%, 8px 60%, 10px 60%, 10px 100%);
  transition: width 0.2s var(--ease), margin 0.2s var(--ease), opacity 0.2s ease; }
html.is-playing .dock a[data-app="listen"] b::after { width: 10px; margin-left: 8px; opacity: 1; animation: kg-bars 0.9s ease-in-out infinite; }
@keyframes kg-bars { 50% { clip-path: polygon(0 100%, 0 5%, 2px 5%, 2px 100%, 4px 100%, 4px 55%, 6px 55%, 6px 100%, 8px 100%, 8px 20%, 10px 20%, 10px 100%); } }
@media (prefers-reduced-motion: reduce) { html.is-playing .dock a[data-app="listen"] b::after { animation: none; } }

/* Keep exploring: every app ends with the next two, "NEXT: WINS →", and the next one slides in sideways */
.explore { padding: 0 0 clamp(56px, 8vh, 88px); }
.explore-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 22px; margin-bottom: 16px; border-top: 1px solid var(--line-soft); }
.explore-head h2 { margin: 0; font-weight: 400; color: var(--gray); }
.explore-head a { color: var(--cyan); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.explore-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(12px, 2vw, 20px); }
.xtile a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px; border-radius: var(--r); border: 1px solid var(--line-soft);
  background: var(--glass); color: var(--frost); text-decoration: none; }
.xtile a:hover { border-color: var(--line); }
.xtile.next a { border-color: var(--line); background: linear-gradient(140deg, rgba(64, 95, 250, 0.16), rgba(5, 7, 8, 0.6) 62%); }
.xtile .icon { flex: none; width: clamp(64px, 7vw, 88px); aspect-ratio: 1; border-radius: 24%; border: 1px solid var(--line-soft); box-shadow: var(--shadow); background: var(--indigo); }
.xtile .icon img { width: 100%; height: 100%; object-fit: cover; }
.xt-txt { display: grid; gap: 3px; min-width: 0; }
.xt-txt .mono { color: var(--cyan); font-size: 11.5px; }
.xt-txt b { font: 800 clamp(22px, 2.6vw, 30px)/1.05 var(--display); letter-spacing: -0.01em; }
.xt-txt small { color: var(--gray); font-size: 14px; line-height: 1.35; }
.xt-go { margin-left: auto; flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--sapphire); color: var(--frost); white-space: nowrap; }
@media (max-width: 860px) {
  .explore-grid { grid-template-columns: 1fr; }
  .xtile.next a { flex-wrap: wrap; }
  .xt-go { margin-left: 0; flex: 1 1 100%; justify-content: center; }
}

/* "Press play" boxes: the label sits in a void strip above the newest video's own frame (Hue: never on the picture) */
.latest-vid { aspect-ratio: auto; display: flex; flex-direction: column; text-align: left; }
.latest-vid .latest-strip { position: static; inset: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 14px 18px 13px; background: var(--void); border-bottom: 1px solid var(--line-soft); color: var(--frost); }
.latest-strip .mono { flex-basis: 100%; color: var(--cyan); }
.latest-strip b { font: 800 clamp(22px, 2.4vw, 30px)/1 var(--display); letter-spacing: -0.02em; }
.latest-strip small { color: var(--gray); font-size: 14px; }
.latest-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; }
.latest-frame .latest-poster, .latest-frame .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.growth-link { margin: 22px 0 0; }

/* Player: on a phone the seek bar gets its own row (it was ~70 px) */
.pl-now { grid-template-rows: auto auto; row-gap: 8px; }
.pl-cover { grid-row: 1 / 3; }
.pl-meta { align-self: end; }
.pl-ctrls { align-self: start; margin-top: 0; }
@media (max-width: 600px) {
  .pl-now { grid-template-columns: 84px 1fr; }
  .player-box.compact .pl-now { grid-template-columns: 56px 1fr; }
  .pl-cover { grid-row: 1; }
  .pl-meta { align-self: center; }
  .pl-ctrls { grid-column: 1 / -1; }
}

/* Home: the Cookie Jar window fills its row (it left an empty gap beside the taller Skills List) */
.split > .window { display: flex; flex-direction: column; }
.split > .window > .body { flex: 1; display: flex; flex-direction: column; }
.split .cookies { flex: 1; grid-auto-rows: 1fr; }

/* Tap In: EMAIL ME is a real 48 px pill with room above it (a small-link rule had squeezed it to 28 px) */
.txt a.btn { min-height: 48px; }
.email-card .btn { margin-top: 16px; }
.email-card .txt p.mono { margin-top: 14px; }   /* the address had 0 px under the pill */
@media (min-width: 861px) {   /* four wins with 128 px thumbs fill the row beside the Skills List */
  .split .cookie { grid-template-columns: 128px 1fr; }
  .split .cookie .thumb, .split .cookie img.thumb { width: 128px; height: 128px; }
}

/* About: the bio sits beside the steps portrait; on a phone it's bio, then photo. Buttons after "Follow me..." */
.bio-pair { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-areas: "photo text" "photo quote"; grid-template-rows: auto 1fr;
  column-gap: clamp(22px, 4vw, 56px); align-items: start; margin: 6px 0 4px; }
.bio-pair .bio-quote { grid-area: quote; margin: 18px 0 0; }
.bio-pair .bio-text { grid-area: text; }
.bio-pair .bio-text p:first-child { margin-top: 0; }
.bio-pair .bio-photo { grid-area: photo; position: sticky; top: 72px; }
.bio-photo img, .bio-photo .ph { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r); }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
@media (max-width: 860px) {
  .bio-pair { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "quote"; grid-template-rows: auto; }
  .bio-pair .bio-photo { position: static; width: 100%; max-width: 440px; justify-self: center; }
}

/* Listen: releases newest first with their covers and readable dates; four across, two on smaller screens */
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card .txt .rel-date { color: var(--gray); margin: 4px 0 0; }
@media (max-width: 860px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }

/* Friends: the closing card is an invitation now */
.card.ghost { opacity: 1; filter: none; border-style: dashed; border-color: var(--line); background: transparent; }
.card.ghost:hover { transform: translateY(-3px); border-color: var(--cyan); }
.card.ghost .ghost-link { display: block; height: 100%; color: var(--frost); text-decoration: none; }
.card.ghost { border-style: solid; }
.card.ghost .media img { width: 100%; height: 100%; object-fit: cover; }
.card.ghost h3 { text-wrap: balance; }
.card.ghost .ghost-pill { display: inline-flex; align-items: center; min-height: 40px; margin-top: 10px; padding: 0 16px; border-radius: 999px;
  background: var(--sapphire); color: var(--frost); font-size: 12px; }
.ghost-plus { color: var(--cyan); }

/* Watch: no doubled row labels; arrows only when a row actually scrolls */
.car-head.no-label { justify-content: flex-end; }
.carousel.fits .car-btn { display: none; }
.carousel.fits .car-head.no-label { display: none; }

/* Footer on a phone: the visit counter gets the page's side margins */
.visits { padding: 0 var(--gutter) 28px; }

/* ---------- Desktop home (Oct 21, 2026). Real user feedback: "it's better on the phone than the computer" ----------
   Computers only: less scrolling, fewer words, hooks that send people into the apps (words: content.yaml desktop_home).
   Every rule sits behind min-width: 861px, so phones and portrait tablets keep their layout exactly.
   .d-only lines show only on computers, .m-only lines only on phones and tablets. */
@media (max-width: 860px) { .d-only { display: none !important; } }
@media (min-width: 701px) and (max-width: 860px) { .lock .wall img { object-position: 72% 50%; } }   /* portrait tablets: the wallpaper's face stays in frame */
@media (min-width: 861px) {
  .m-only { display: none !important; }
  /* A mouse wheel moves about 100 px a notch: every empty band is ten notches of nothing */
  html[data-page="home"] .home { padding: clamp(48px, 7vh, 80px) 0 clamp(32px, 5vh, 56px); }
  html[data-page="home"] .band { padding: clamp(40px, 6vh, 72px) 0; }
  html[data-page="home"] .band-title { margin-bottom: 16px; }
  html[data-page="home"] .app .hook { color: var(--frost); }
  /* Playback Hub: the newest video and the songs. The rest of the channel lives on the Watch page */
  html[data-page="home"] .band .carousel { display: none; }
  html[data-page="home"] .player-box.compact .pl-list small { display: none; }
  .more-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 14px 0 0;
    padding: 12px 18px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--glass); color: var(--frost); }
  .more-line a { color: var(--cyan); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
  /* The proof: four wins as a row of photos (each story is one click away), the Skills List as a short spec */
  .jar-line { margin: 0 0 14px; color: var(--frost); font-weight: 600; }
  html[data-page="home"] .split .cookies { flex: 0 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
  html[data-page="home"] .split .cookie { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; padding: 8px; }
  html[data-page="home"] .split .cookie .thumb, html[data-page="home"] .split .cookie img.thumb { width: 100%; height: auto; aspect-ratio: 1; }
  html[data-page="home"] .split .cookie p { display: none; }
  html[data-page="home"] .split .cookie .tag { font-size: 11px; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html[data-page="home"] .spec > :is(dt, dd):nth-of-type(n+3):not(.d-only) { display: none; }
  /* The silence before the peak: the same moment, a shorter walk */
  html[data-page="home"] .silence { min-height: 40vh; }
}
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  html[data-page="home"] .peak { height: 150vh; }   /* was 230vh: the photo still holds while the glass clears */
}
