@font-face { font-family: "Mercury Sans"; src: url(mercurysans.otf); font-display: swap; }
:root {
  --ink: #f4f4f2; --dim: rgba(244,244,242,.68); --faint: rgba(244,244,242,.42);
  --glass: rgba(28,28,30,.46); --glass-hi: rgba(255,255,255,.10); --edge: rgba(255,255,255,.28);
  --shine: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.35), 0 18px 50px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: linear-gradient(rgba(10,10,12,.5), rgba(10,10,12,.3) 40%, rgba(10,10,12,.55)), url(wallpaper.jpg) center/cover fixed #2a2a2a; font: 16px/1.55 "Mercury Sans", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; text-underline-offset: 3px; }
.glass { background: linear-gradient(180deg, var(--glass-hi), transparent 55%), var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border: 1px solid var(--edge); box-shadow: var(--shine); }

/* bars */
.bars { position: fixed; top: 10px; left: 10px; right: 10px; z-index: 20; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.bars > * { pointer-events: auto; }
.menu { display: flex; align-items: center; gap: 4px; padding: 8px 16px 8px 12px; border-radius: 18px; }
.menu .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; margin-right: 10px; white-space: nowrap; }
.menu .brand img { width: 26px; height: 26px; border-radius: 50%; }
.menu nav a { text-decoration: none; font-size: 14px; padding: 4px 8px; border-radius: 8px; color: var(--ink); }
.menu nav a:hover { background: rgba(255,255,255,.14); }
.clock { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); text-align: center; padding: 6px 14px 8px; border-radius: 0 0 16px 16px; border-top: 0; min-width: 190px; }
.clock b { display: block; font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.clock span { font-size: 12px; color: var(--dim); }
.tray { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 14px; border-radius: 18px; }
.tray .used { font-size: 12px; line-height: 1.15; text-align: center; color: var(--dim); white-space: nowrap; }
.tray .used b { display: block; color: var(--ink); font-size: 13px; }
.ask { position: relative; display: flex; align-items: center; gap: 8px; width: 230px; padding: 6px 12px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.2); }
.ask img { width: 16px; height: 18px; }
.ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 13px; }
.ask input::placeholder { color: var(--dim); }
.reply { position: absolute; top: calc(100% + 10px); right: 0; width: 300px; padding: 12px 14px; border-radius: 14px; font-size: 14px; opacity: 0; transform: translateY(-6px); transition: .2s; pointer-events: none; }
.reply.on { opacity: 1; transform: none; pointer-events: auto; }
.reply { width: 340px; max-height: 60vh; overflow: auto; }
.reply b { display: block; margin-bottom: 4px; }
.reply small { display: block; margin-top: 8px; color: var(--dim); }
.reply a { display: block; margin-top: 8px; font-size: 13px; color: var(--dim); }

/* dock */
.dock { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 22px; }
.dock a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; text-decoration: none; transition: transform .18s, background .18s; position: relative; }
.dock a:hover { background: rgba(255,255,255,.14); transform: scale(1.12); }
.dock img { width: 32px; height: 32px; object-fit: contain; }
.dock a.off::after { content: ""; position: absolute; left: -3px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--ink); }

/* desktop */
.desk { max-width: 1240px; margin: 0 auto; padding: 130px 90px 60px 24px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; align-items: start; }
.hello { grid-column: 1 / -1; padding: 40px 6px 30px; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.hello .tag { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.hello h1 { margin: 10px 0 12px; font-size: clamp(44px, 7.4vw, 104px); line-height: .95; font-weight: 300; letter-spacing: -.035em; background: linear-gradient(180deg, #fff 20%, #b9bcc2 55%, #fff 62%, #8e9198); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hello p { margin: 0; max-width: 34em; color: var(--dim); font-size: 18px; }
.win { scroll-margin-top: 90px; border-radius: 20px; overflow: hidden; transition: opacity .25s, transform .25s, scale .25s; animation: pop .5s cubic-bezier(.2,1.3,.4,1) both; }
.win.dragging { transition: none; box-shadow: var(--shine), 0 40px 90px rgba(0,0,0,.6); z-index: 5; }
.win.closed { opacity: 0; scale: .9; pointer-events: none; }
.win.min .body { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.12); cursor: grab; user-select: none; touch-action: none; }
.win.dragging .bar { cursor: grabbing; }
.bar button { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--dim); font-size: 13px; cursor: pointer; }
.bar button:hover { background: rgba(255,255,255,.16); color: var(--ink); }
.bar .t { flex: 1; text-align: center; font-size: 13px; color: var(--dim); margin-right: 66px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.body { padding: 26px 28px 28px; }
.head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.head img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.head h2 { margin: 0; font-size: 32px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.head small { display: block; color: var(--dim); font-size: 13px; margin-top: 4px; }
.body p { margin: 0 0 14px; color: rgba(244,244,242,.86); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: var(--dim); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 12px; font-size: 14px; text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); transition: background .15s, transform .15s; }
.btn:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.btn.solid { background: linear-gradient(180deg, #fff, #d9dadd); color: #111; font-weight: 600; border-color: #fff; }
.sub { margin: 20px 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 4px; }
.app { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.12); }
.app b { display: block; font-size: 15px; }
.app span { font-size: 13px; color: var(--dim); }
.app .btns { margin-top: 8px; gap: 6px; }
.app .btn { padding: 5px 10px; font-size: 12px; border-radius: 9px; }
.people { display: grid; gap: 12px; }
.person { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.person i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: linear-gradient(160deg, #fff, #8d9097); color: #222; box-shadow: inset 0 -2px 4px rgba(0,0,0,.3); }
.person b { display: block; } .person span { font-size: 14px; color: var(--dim); }
.notes { font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: 14px; }
.notes p { color: rgba(244,244,242,.8); }
.notes .loud { color: #fff; font-weight: 700; letter-spacing: .02em; }
.w-qs { grid-column: 1 / span 7; } .w-hg { grid-column: 8 / span 5; margin-top: 60px; }
.w-cb { grid-column: 1 / span 8; } .w-notes { grid-column: 9 / span 4; margin-top: 40px; }
.w-credits { grid-column: 3 / span 8; }
footer { text-align: center; padding: 30px 20px 50px; font-size: 13px; color: var(--dim); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
footer a { margin: 0 10px; }
footer .mw { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
footer .mw img { width: 22px; height: 22px; object-fit: contain; }

@media (max-width: 1499px) { .menu nav a.wide { display: none; } }
@media (max-width: 1239px) { .clock { display: none; } }
@media (max-width: 1000px) {
  .clock, .tray .used { display: none; }
  .desk { padding-right: 24px; } .desk > .win { grid-column: 1 / -1; margin-top: 0; }
  .dock { top: auto; bottom: 10px; right: 50%; transform: translateX(50%); flex-direction: row; }
  footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .bars { flex-direction: column; } .tray { display: none; }
  .menu { width: 100%; overflow-x: auto; } .menu nav a.wide { display: none; }
  .desk { padding: 84px 16px 40px; gap: 16px; } .hello { padding: 30px 2px 10px; }
  .body { padding: 20px 18px 22px; } .head h2 { font-size: 26px; } .bar .t { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .win { animation: none; } html { scroll-behavior: auto; } }
.more { margin: 10px 0; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.12); }
.more summary { cursor: pointer; font-weight: 600; }
.more ul { margin: 6px 0; padding-left: 18px; font-size: 14px; }
.ed { width: 100%; border-collapse: collapse; font-size: 13px; margin: 4px 0 8px; }
.ed th, .ed td { text-align: left; padding: 5px 6px; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.ed th { color: var(--faint); font-weight: 600; }
.fine { font-size: 12px; color: var(--dim); }
.beta { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #ffb27a; background: rgba(255,122,26,.16); border: 1px solid rgba(255,122,26,.5); }
.hello .beta { margin: 0 0 0 10px; text-transform: none; letter-spacing: .02em; }
