a[data-link][hidden]{display:none!important}
@font-face { font-family: 'Bagel Fat One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/BagelFatOne-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/AlbertSans-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/AlbertSans-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/AlbertSans-normal-800.woff2') format('woff2'); }
@font-face { font-family: 'Yellowtail'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Yellowtail-normal-400.woff2') format('woff2'); }

/* Bear It OS: a bright desktop painted in cobalt watercolour on a kraft-edged block */
:root {
  --ink: #0c1018;
  --paper: #f7ebe3;
  --paper2: #eddacf;
  --text: #172130;
  --soft: #414e62;
  --on: #f6eeea;
  --onsoft: #cbbcb4;
  --buy: #e98549;
  --buy2: #aa4f18;
  --deep: #182539;
  --cobalt: #1f3f99;
  --pool: #142a6b;
  --edge: #0c1a44;
  --slate: #6b8fc4;
  --butter: #f2c14a;
  --cocoa: #8a4f22;
  --kraft: #a5612e;
  --r: 0px;
  --rs: 8px;
  --tilt: 1deg;
  --gap: 32px;
  --k: 6px;
  --f-d: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-b: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-s: "Yellowtail", "Brush Script MT", cursive;
  --jelly: cubic-bezier(.2, 1.5, .35, 1);
}
@media (min-width: 700px) { :root { --k: 10px; } }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }

/* the still wash (motion off, or no WebGL): pools, dried blooms, a soft horizon, paper flecks */
html {
  background-color: var(--cobalt);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M12 18l5 2M64 9l3 4M118 30l6-1M30 70l2 5M90 62l5 3M146 88l2-5M20 120l6 1M72 132l3-4M128 140l5 2M52 40l1 3M104 104l4 1' stroke='%23f6eeea' stroke-opacity='.07' stroke-width='1.3'/%3E%3Cpath d='M40 26l3-1M98 20l2 4M8 88l4 2M60 98l-2 4M136 58l4-2M112 150l3 1M84 150l-3-2M150 128l1 4' stroke='%23060c22' stroke-opacity='.16' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(60% 40% at 72% 28%, rgba(36, 68, 159, .9), transparent 70%),
    radial-gradient(34% 26% at 22% 64%, rgba(20, 42, 107, .55), transparent 80%),
    radial-gradient(40% 30% at 30% 20%, rgba(32, 64, 152, .8), transparent 75%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, var(--edge) 100%),
    linear-gradient(180deg, #1f3f99 0%, #1b3889 55%, #142a6b 100%);
  background-attachment: fixed;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.rm { scroll-behavior: auto; }
body {
  margin: 0;
  background: transparent;
  color: var(--on);
  font: 400 16px/1.55 var(--f-b);
  overflow-x: hidden;
  padding: 0 var(--k);
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--text); padding: 8px 12px; border: 3px solid var(--ink); }
.skip:focus { left: 16px; }

:focus-visible { outline: 3px dashed var(--butter); outline-offset: 3px; }

/* ---------- the wash canvas, the kraft edge, the paper sheet ---------- */
#wash { position: fixed; left: 0; top: 0; width: 100%; height: 120vh; min-height: 120%; z-index: 0; pointer-events: none; display: block; opacity: 0; transition: opacity .6s ease; }
html.wash-on #wash { opacity: 1; }
html.rm #wash { display: none; }
.page { position: relative; z-index: 1; }

.kraft { position: fixed; z-index: 70; pointer-events: none;
  background: var(--kraft) repeating-linear-gradient(91deg, rgba(255, 236, 214, .07) 0 2px, transparent 2px 7px, rgba(60, 28, 6, .08) 7px 8px, transparent 8px 13px); }
.kraft--t { top: 0; left: 0; right: 0; height: calc(var(--k) + 4px);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 94% 92%, 87% 70%, 79% 100%, 71% 76%, 63% 94%, 55% 68%, 47% 100%, 39% 74%, 31% 96%, 23% 70%, 15% 98%, 8% 76%, 0 92%); }
.kraft--b { bottom: 0; left: 0; right: 0; height: calc(var(--k) + 4px);
  clip-path: polygon(0 0, 6% 26%, 13% 4%, 21% 30%, 29% 0, 37% 24%, 45% 6%, 53% 32%, 61% 2%, 69% 28%, 77% 6%, 85% 30%, 92% 4%, 100% 24%, 100% 100%, 0 100%); }
.kraft--l { top: 0; bottom: 0; left: 0; width: calc(var(--k) + 4px);
  clip-path: polygon(0 0, 78% 0, 100% 6%, 70% 13%, 96% 21%, 72% 29%, 100% 37%, 74% 45%, 98% 53%, 70% 61%, 100% 69%, 76% 77%, 96% 85%, 72% 93%, 92% 100%, 0 100%); }
.kraft--r { top: 0; bottom: 0; right: 0; width: calc(var(--k) + 4px);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 6% 100%, 28% 93%, 0 85%, 26% 77%, 2% 69%, 30% 61%, 4% 53%, 26% 45%, 0 37%, 28% 29%, 4% 21%, 30% 13%, 0 6%); }

#sheet { display: none; }
html.js:not(.rm) #sheet {
  display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: var(--paper) radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .5), transparent 60%);
  animation: sheet-off .01s linear 3.6s forwards;
}
@keyframes sheet-off { to { opacity: 0; visibility: hidden; } }
#sheet.is-flood {
  -webkit-mask-image: linear-gradient(#000, #000), var(--blot-a), var(--blot-b), var(--blot-a);
  mask-image: linear-gradient(#000, #000), var(--blot-a), var(--blot-b), var(--blot-a);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0, var(--p1, 0 0), var(--p2, 0 0), var(--p3, 0 0);
  mask-position: 0 0, var(--p1, 0 0), var(--p2, 0 0), var(--p3, 0 0);
  -webkit-mask-size: 100% 100%, var(--s1, 0) var(--s1, 0), var(--s2, 0) var(--s2, 0), var(--s3, 0) var(--s3, 0);
  mask-size: 100% 100%, var(--s1, 0) var(--s1, 0), var(--s2, 0) var(--s2, 0), var(--s3, 0) var(--s3, 0);
  -webkit-mask-composite: xor, source-over, source-over;
  mask-composite: exclude, add, add;
}
#tide { position: fixed; inset: 0; z-index: 61; pointer-events: none; background: var(--edge); opacity: .42;
  -webkit-mask-image: var(--blot-ring); mask-image: var(--blot-ring);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--p1, 0 0); mask-position: var(--p1, 0 0);
  -webkit-mask-size: var(--s1, 0) var(--s1, 0); mask-size: var(--s1, 0) var(--s1, 0);
  transition: opacity .5s ease; }
#tide.is-dry { opacity: 0; }
#sketch { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 62; pointer-events: none; overflow: visible; transition: opacity .6s ease; }
#sketch .s { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.5, 0, .3, 1) var(--d, 0s); }
#sketch .t { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 900; stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.4s cubic-bezier(.5, 0, .3, 1) var(--d, 0s); }
#sketch.on .s, #sketch.on .t { stroke-dashoffset: 0; }
#sketch.out { opacity: 0; }

/* ---------- shared chrome: bars, window buttons, gloss, buttons, chips ---------- */
.bar { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px 0 14px;
  border-bottom: 3px solid var(--ink); overflow: hidden; color: var(--text); }
.bar::before, .bar::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none;
  background: rgba(255, 255, 255, .34); transform: skewX(-28deg); }
.bar::before { left: 7%; width: 34px; }
.bar::after { left: calc(7% + 44px); width: 9px; }
.bar--slate { background: var(--slate); }
.bar--butter { background: var(--butter); }
.bar--cocoa { background: var(--cocoa); color: var(--on); }
.bar__t { position: relative; font: 800 12px/1.2 var(--f-b); letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.bar__s { position: relative; font: 400 22px/1 var(--f-s); margin-left: auto; padding-top: 2px; white-space: nowrap; }
.bar__path { position: relative; display: none; font: 600 13px/1 var(--f-b); margin-left: auto; color: var(--text); }
.wbtns { position: relative; display: flex; gap: 5px; margin-left: auto; flex: none; }
.bar__s + .wbtns, .bar__path + .wbtns { margin-left: 10px; }
.wbtns i { display: block; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); }
.wbtns i:nth-child(1) { background: linear-gradient(var(--ink), var(--ink)) 50% 72% / 8px 2px no-repeat, var(--paper); }
.wbtns i:nth-child(2) { box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--ink); }
.wbtns i:nth-child(3) { background:
  linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%) 50% 50% / 9px 9px no-repeat,
  linear-gradient(-45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%) 50% 50% / 9px 9px no-repeat, var(--paper); }

.jelly { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 28px; background: var(--buy); color: var(--text); text-decoration: none;
  border: 3px solid var(--ink); border-radius: var(--rs); box-shadow: 6px 6px 0 var(--ink);
  font: 400 22px/1 var(--f-d); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--jelly), box-shadow .25s var(--jelly), background-color .2s; }
.jelly::before { content: ""; position: absolute; top: 0; bottom: 0; left: 10%; width: 26px; background: rgba(255, 255, 255, .38); transform: skewX(-28deg); pointer-events: none; transition: left .5s ease; }
.jelly:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.jelly:hover::before { left: 78%; }
.jelly:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); background: var(--buy2); color: var(--on); }
.jelly--sm { min-height: 40px; padding: 0 14px; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; background: var(--paper); color: var(--text);
  border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); font: 600 13px/1 var(--f-b); text-decoration: none;
  transition: transform .2s var(--jelly), box-shadow .2s var(--jelly); }
.chip img { width: 18px; height: 18px; flex: none; }
.chip:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); }
.chip:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }

.osbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: var(--paper2); color: var(--text);
  border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); font: 800 12px/1 var(--f-b);
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--jelly), box-shadow .2s var(--jelly); }
.osbtn:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); }
.osbtn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.osbtn--off, .osbtn--off:hover { color: var(--soft); box-shadow: none; transform: none; cursor: default; border-style: dashed; }

/* ---------- the taskbar ---------- */
.taskbar { position: sticky; top: var(--k); z-index: 40; margin-top: var(--k); display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 6px 8px 6px 8px; background: var(--paper); color: var(--text); border: 3px solid var(--ink);
  transition: box-shadow .3s ease; }
html.is-scrolled .taskbar { box-shadow: 0 6px 0 var(--ink); }
.start { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.start img { width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); background: var(--paper); }
.start__name { display: none; font: 400 18px/1.05 var(--f-d); color: var(--text); }
.tray { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.clock-box { display: none; text-align: right; line-height: 1; padding: 4px 8px; border-radius: 8px; position: relative; }
.clock-box b, .clock { font: 800 14px/1 var(--f-b); letter-spacing: .06em; color: var(--text); }
.clock-box i { display: block; font: 400 16px/1 var(--f-s); color: var(--text); margin-top: 3px; }
.clock-box.is-inked { animation: clock-bloom 1.2s ease-out; }
@keyframes clock-bloom { 0% { background: rgba(107, 143, 196, 0); } 25% { background: rgba(107, 143, 196, .75); } 100% { background: rgba(107, 143, 196, 0); } }

#burger { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; padding: 0; background: var(--butter);
  border: 3px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
#burger span { display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--jelly), opacity .2s; }
#burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.tabs { display: none; position: absolute; top: calc(100% + 8px); left: -3px; right: -3px; z-index: 45;
  flex-direction: column; gap: 10px; padding: 16px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  max-height: calc(100svh - 90px); overflow-y: auto; }
.tabs.is-open { display: flex; }
.tab { display: flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--paper); color: var(--text); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); font: 600 15px/1 var(--f-b);
  transition: transform .2s var(--jelly), box-shadow .2s var(--jelly), background-color .2s; }
.tab:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); }
.tab.is-on { background: var(--butter); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink), inset 2px 2px 0 rgba(12, 16, 24, .25); }
.chip--x { min-height: 44px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: var(--paper2); color: var(--text);
  border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); font: 800 12px/1 var(--f-b); letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; }
.toggle::before { content: ""; width: 28px; height: 16px; border-radius: 9px; border: 2px solid var(--ink); flex: none;
  background: radial-gradient(circle at 70% 50%, var(--ink) 0 4px, transparent 5px), var(--slate); }
html.rm .toggle::before { background: radial-gradient(circle at 30% 50%, var(--ink) 0 4px, transparent 5px), var(--paper); }

/* ---------- the desktop (first screen) ---------- */
.desk { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 62px); padding: 0 6px 28px; overflow: hidden; }
.lump-spot { position: relative; height: 236px; flex: none; }
.lump-spot::after { content: ""; position: absolute; left: -40px; right: -40px; top: 100%; height: 100vh; pointer-events: none; z-index: -1;
  border-top: 2px solid rgba(246, 238, 234, .22);
  background: linear-gradient(180deg, rgba(12, 26, 68, .1), rgba(12, 26, 68, .42) 40%, rgba(12, 26, 68, 0)); }
#lump { position: absolute; left: 64%; bottom: 0; width: 80px; touch-action: none; transform: translate(var(--lx, 0px), var(--ly, 0px)); }
#lump::before { content: ""; position: absolute; left: -18%; right: -18%; bottom: -7px; height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 12, 34, .6), rgba(6, 12, 34, 0)); pointer-events: none; transition: transform .3s var(--jelly); }
.lump__body { scale: var(--face, 1) 1; transition: scale .35s var(--jelly); transform-origin: 50% 100%; }
.lump__body.is-plod { animation: lump-plod .5s ease-in-out; }
@keyframes lump-plod { 0%, 100% { rotate: 0deg; translate: 0 0; } 35% { rotate: 2deg; translate: 3px -1px; } 70% { rotate: -1deg; translate: 1px 0; } }
.lump__squash { position: relative; transform-origin: 50% 100%; }
.lump__squash.is-land { animation: lump-land .5s var(--jelly); }
@keyframes lump-land { 0% { transform: scale(1.06, .9); } 55% { transform: scale(.97, 1.04); } 100% { transform: none; } }
#lump img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.lump__glaze { position: absolute; inset: 0; pointer-events: none; opacity: 1; mix-blend-mode: color;
  background:
    radial-gradient(56% 30% at 50% 14%, #5c80bd 0 60%, rgba(92, 128, 189, 0) 92%),
    radial-gradient(52% 46% at 32% 36%, #5c80bd 0 58%, rgba(92, 128, 189, 0) 82%),
    radial-gradient(14% 12% at 47% 64%, #5c80bd 0 50%, rgba(92, 128, 189, 0) 100%),
    radial-gradient(46% 30% at 26% 88%, #5c80bd 0 64%, rgba(92, 128, 189, 0) 100%),
    radial-gradient(30% 40% at 12% 62%, #5c80bd 0 60%, rgba(92, 128, 189, 0) 100%);
  -webkit-mask: url("../img/cutout.png") 0 0 / 100% 100% no-repeat; mask: url("../img/cutout.png") 0 0 / 100% 100% no-repeat; }
.lump__label { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap;
  font: 600 11px/1 var(--f-b); color: var(--on); background: var(--ink); padding: 3px 7px; border-radius: 5px; }
.tip { position: absolute; right: calc(100% + 6px); bottom: 92%; width: max-content; max-width: 170px; padding: 8px 12px;
  background: var(--butter); color: var(--text); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink);
  font: 600 13px/1.25 var(--f-b); pointer-events: none; transition: transform .3s var(--jelly); }
.tip::after { content: ""; position: absolute; right: -9px; bottom: 8px; width: 12px; height: 12px; background: var(--butter);
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.tip.is-new { animation: tip-in .45s var(--jelly); }
@keyframes tip-in { 0% { transform: scale(.8); } 100% { transform: none; } }
#lump.is-held { cursor: grabbing; }

.icons { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.icon { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; }
.icon__tile { position: relative; overflow: hidden; display: block; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--jelly), box-shadow .3s var(--jelly); }
.icon__tile::before, .icon__tile::after { content: ""; position: absolute; }
.icon:hover .icon__tile { transform: translate(-2px, -3px) rotate(calc(var(--tilt) * -2)); box-shadow: 6px 7px 0 var(--ink); }
.icon:active .icon__tile { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.icon__label { font: 600 11px/1.2 var(--f-b); color: var(--on); background: var(--ink); padding: 3px 6px; border-radius: 6px; max-width: 100%; overflow-wrap: anywhere; }
.icon--folder .icon__tile { background: var(--slate); }
.icon--folder .icon__tile::before { left: 18%; right: 18%; top: 32%; bottom: 22%; background: var(--butter); border: 2px solid var(--ink); border-radius: 3px; }
.icon--folder .icon__tile::after { left: 18%; width: 30%; top: 24%; height: 14%; background: var(--butter); border: 2px solid var(--ink); border-bottom: 0; border-radius: 3px 3px 0 0; }
.icon--photo .icon__tile { background: var(--butter); }
.icon--photo .icon__tile::before { inset: 20% 16%; border: 2px solid var(--ink); border-radius: 3px;
  background: linear-gradient(135deg, transparent 52%, var(--slate) 52%) 0 100% / 100% 60% no-repeat, radial-gradient(circle at 72% 30%, var(--buy2) 0 13%, transparent 14%), var(--paper); }
.icon--cards .icon__tile { background: var(--paper2); }
.icon--cards .icon__tile::before, .icon--cards .icon__tile::after { width: 38%; height: 56%; top: 22%; background: var(--cocoa); border: 2px solid var(--ink); border-radius: 4px; }
.icon--cards .icon__tile::before { left: 18%; transform: rotate(-9deg); }
.icon--cards .icon__tile::after { left: 42%; transform: rotate(8deg); box-shadow: inset 0 0 0 3px var(--cocoa), inset 0 0 0 5px var(--paper); }
.icon--bag .icon__tile { background: var(--slate); }
.icon--bag .icon__tile::before { left: 24%; right: 24%; top: 38%; bottom: 18%; background: var(--paper); border: 2px solid var(--ink); border-radius: 3px 3px 6px 6px; }
.icon--bag .icon__tile::after { left: 36%; right: 36%; top: 20%; height: 26%; border: 3px solid var(--cocoa); border-bottom: 0; border-radius: 10px 10px 0 0; }
.icon--note .icon__tile { background: var(--cocoa); }
.icon--note .icon__tile::before { left: 24%; right: 24%; top: 18%; bottom: 18%; border: 2px solid var(--ink); border-radius: 2px;
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(23, 33, 48, .55) 5px 6px) 50% 60% / 64% 56% no-repeat, var(--paper); }
.icon--note .icon__tile::after { right: 24%; top: 18%; width: 9px; height: 9px; background: linear-gradient(225deg, var(--cocoa) 50%, var(--butter) 50%); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

.hero { position: relative; margin-top: 22px; }
.kicker { display: flex; align-items: center; gap: 10px; font: 800 11px/1.3 var(--f-b); letter-spacing: .18em; text-transform: uppercase; color: var(--on); margin-bottom: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--on); flex: none; }
h1 { font-weight: 400; }
.h1__a { display: block; max-width: 5em; font: 400 46px/.94 var(--f-d); color: var(--on); letter-spacing: -.005em;
  text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 5px 5px 0 var(--edge); }
.h1__b { display: block; margin-top: 8px; font: 400 36px/1.05 var(--f-s); color: var(--on); font-style: normal;
  text-shadow: 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 1.5px 0 var(--ink), 0 -1.5px 0 var(--ink), 3px 3px 0 var(--edge), 0 0 22px rgba(242, 193, 74, .5); }
.w { display: inline; }
.bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }

#hero-act { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; margin-top: 18px; }
.buy-slot { display: block; width: 100%; }
.buy-slot .jelly { width: 100%; min-height: 56px; }
#contract { width: 100%; scroll-margin-top: 90px; }
.dialog { background: var(--paper); color: var(--text); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); max-width: 100%; }
.dialog .bar { min-height: 34px; }
.dialog__body { padding: 14px; }
#ca-copy { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px 10px 12px; background: var(--paper2); color: var(--text);
  border: 2px solid var(--ink); border-radius: 6px; box-shadow: inset 3px 3px 0 rgba(12, 16, 24, .16); text-align: left; cursor: pointer;
  transition: background-color .2s; }
#ca-copy:hover { background: #f3e3d8; }
#ca-text { flex: 1; min-width: 0; font: 600 13px/1.35 var(--f-b); font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; color: var(--text); }
.ca__tap { flex: none; padding: 7px 10px; background: var(--slate); color: var(--text); border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: 2px 2px 0 var(--ink); font: 800 11px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; transition: background-color .2s, transform .2s var(--jelly); }
#ca-copy:active .ca__tap { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
html.ca-copied .ca__tap, #ca-copy.is-copied .ca__tap { background: var(--butter); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- windows ---------- */
.win { position: relative; padding: 40px 4px; overflow-x: clip; scroll-margin-top: 70px; }
.win__frame { position: relative; z-index: 2; background: var(--paper); color: var(--text); border: 3px solid var(--ink); border-radius: var(--r);
  box-shadow: 6px 6px 0 var(--ink); transform: translate(var(--dx, 0px), var(--dy, 0px)); }
.win__frame.is-lifted { box-shadow: 12px 12px 0 var(--ink); z-index: 5; }
.win__frame.is-drop { transition: transform .45s var(--jelly), box-shadow .3s ease; }
.win__frame::after { content: ""; position: absolute; inset: -11px; pointer-events: none; opacity: 0;
  background:
    linear-gradient(90deg, var(--butter) 50%, transparent 0) 0 0 / 16px 3px repeat-x,
    linear-gradient(90deg, var(--butter) 50%, transparent 0) 0 100% / 16px 3px repeat-x,
    linear-gradient(0deg, var(--butter) 50%, transparent 0) 0 0 / 3px 16px repeat-y,
    linear-gradient(0deg, var(--butter) 50%, transparent 0) 100% 0 / 3px 16px repeat-y;
  transition: opacity .3s; }
.win.is-focus .win__frame::after { opacity: 1; animation: ants .7s linear infinite; }
@keyframes ants { to { background-position: 16px 0, -16px 100%, 0 -16px, 100% 16px; } }
.win.is-focus .bar { filter: saturate(1.25) brightness(1.06); }
.win__body { padding: 20px 16px; }
.status { margin: 0; padding: 9px 14px; border-top: 3px solid var(--ink); background: var(--paper2); color: var(--soft);
  font: 800 11px/1.35 var(--f-b); letter-spacing: .16em; text-transform: uppercase; }

.win h2 { font-weight: 400; margin-bottom: 16px; }
.win h2 span { display: block; font: 400 34px/1 var(--f-d); color: var(--text); text-shadow: 3px 3px 0 var(--slate); }
.win h2 em { display: inline; font: 400 28px/1.15 var(--f-s); font-style: normal; color: var(--text);
  background: linear-gradient(transparent 60%, rgba(242, 193, 74, .6) 60% 90%, transparent 90%); text-shadow: 0 0 14px rgba(242, 193, 74, .5); }

/* story */
.story { display: grid; gap: 22px; }
.story__pic figcaption { margin-top: 10px; font: 400 24px/1.15 var(--f-s); color: var(--text); text-shadow: 0 0 12px rgba(242, 193, 74, .55); }
.ph { position: relative; display: block; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: var(--paper2); overflow: hidden; }
.ph img { display: block; width: 100%; height: auto; }
.story__pic img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 66% 55%; }
.lede { font-size: 18px; line-height: 1.5; color: var(--text); margin-bottom: 12px; }
.desc { font-size: 16px; color: var(--soft); }

.alerts { position: relative; z-index: 3; display: grid; gap: 22px; margin-top: 26px; }
.card { position: relative; background: var(--paper); color: var(--text); border: 3px solid var(--ink); border-top-width: 30px;
  box-shadow: 5px 5px 0 var(--ink); padding: 12px 16px 16px; border-radius: 0; }
.card::before { content: ""; position: absolute; left: -3px; right: -3px; top: -30px; height: 27px; background: var(--butter); border-bottom: 0; }
.card::after { content: ""; position: absolute; top: -30px; left: 40%; width: 22px; height: 27px; background: rgba(255, 255, 255, .34); transform: skewX(-28deg); pointer-events: none; }
.card__num { position: absolute; top: -26px; left: 10px; z-index: 1; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 11px; background: var(--ink); color: var(--butter); font: 800 11px/1 var(--f-b); letter-spacing: .06em; }
.card h3 { font: 400 22px/1.05 var(--f-d); color: var(--text); margin-bottom: 6px; }
.card p { font-size: 15px; line-height: 1.5; color: var(--text); }

/* gallery folder */
.folder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.folder figure { min-width: 0; }
.folder figure:first-child, .folder figure:last-child { grid-column: span 2; }
.folder img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  background: var(--paper2); cursor: zoom-in; transition: transform .3s var(--jelly), box-shadow .3s var(--jelly); }
.folder figure:hover img { transform: translate(-2px, -4px); box-shadow: 8px 9px 0 var(--ink); }
.folder figcaption { margin-top: 10px; font: 600 14px/1.4 var(--f-b); color: var(--text); }

/* the picture bleed (signature) */
html.js.wc:not(.rm) .bleed {
  -webkit-mask-image: var(--blot-a), var(--blot-b); mask-image: var(--blot-a), var(--blot-b);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--x1, 30%) var(--y1, 40%), var(--x2, 70%) var(--y2, 60%);
  mask-position: var(--x1, 30%) var(--y1, 40%), var(--x2, 70%) var(--y2, 60%);
  -webkit-mask-size: 0% 0%, 0% 0%; mask-size: 0% 0%, 0% 0%; }
html.js.wc:not(.rm) .bleed.is-wet { animation: bleed-a 1.9s cubic-bezier(.3, .55, .25, 1) var(--dl, 0s) forwards; }
html.js.wc:not(.rm) .bleed.is-dry { -webkit-mask: none; mask: none; animation: none; }
@keyframes bleed-a {
  0% { -webkit-mask-size: 0% 0%, 0% 0%; mask-size: 0% 0%, 0% 0%; }
  22% { -webkit-mask-size: 70% 70%, 0% 0%; mask-size: 70% 70%, 0% 0%; }
  60% { -webkit-mask-size: 230% 230%, 180% 180%; mask-size: 230% 230%, 180% 180%; }
  100% { -webkit-mask-size: 600% 600%, 640% 640%; mask-size: 600% 600%, 640% 640%; }
}
html.js.wc:not(.rm) .ph.tide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--edge); opacity: 0; mix-blend-mode: multiply;
  -webkit-mask: var(--blot-ring) var(--x1, 30%) var(--y1, 40%) / 0% 0% no-repeat; mask: var(--blot-ring) var(--x1, 30%) var(--y1, 40%) / 0% 0% no-repeat; }
html.js.wc:not(.rm) .ph.tide.is-wet::after { animation: bleed-b 1.9s cubic-bezier(.3, .55, .25, 1) var(--dl, 0s) forwards; }
@keyframes bleed-b {
  0% { opacity: .5; -webkit-mask-size: 0% 0%; mask-size: 0% 0%; }
  60% { opacity: .38; -webkit-mask-size: 230% 230%; mask-size: 230% 230%; }
  100% { opacity: 0; -webkit-mask-size: 600% 600%; mask-size: 600% 600%; }
}

/* pairs game */
.mc-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mc-card { position: relative; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; background: var(--paper); border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .25s var(--jelly), box-shadow .25s var(--jelly); }
.mc-card:hover { transform: translate(-1px, -3px); box-shadow: 5px 7px 0 var(--ink); }
.mc-back { position: absolute; inset: 5px; display: grid; place-items: center; border-radius: 4px; background: var(--cocoa);
  font: 400 clamp(30px, 6vw, 54px)/1 var(--f-s); color: var(--paper); text-shadow: 2px 2px 0 var(--ink), 0 0 16px rgba(242, 193, 74, .5); }
.mc-back::after { content: ""; position: absolute; top: 0; bottom: 0; left: 14%; width: 16%; background: rgba(255, 255, 255, .2); transform: skewX(-28deg); }
.mc-face { position: absolute; inset: 0; background: var(--paper2) center / cover no-repeat; opacity: 0; }
.face-1 { background-image: url("../img/feature-700.jpg"); background-position: 22% 50%; }
.face-2 { background-image: url("../img/scene-2.jpg"); }
.face-3 { background-image: url("../img/scene-6.jpg"); }
.face-4 { background-image: url("../img/logo-512.jpg"); }
.mc-card.is-face .mc-face { opacity: 1; }
html.js.wc:not(.rm) .mc-face {
  -webkit-mask: var(--blot-a) var(--tx, 50%) var(--ty, 50%) / 0% 0% no-repeat; mask: var(--blot-a) var(--tx, 50%) var(--ty, 50%) / 0% 0% no-repeat;
  transition: -webkit-mask-size .38s ease-in, mask-size .38s ease-in, opacity 0s .38s; }
html.js.wc:not(.rm) .mc-card.is-face .mc-face { -webkit-mask-size: 640% 640%; mask-size: 640% 640%;
  transition: -webkit-mask-size .6s cubic-bezier(.3, .6, .3, 1), mask-size .6s cubic-bezier(.3, .6, .3, 1), opacity 0s; }
html.rm .mc-face { opacity: 1; -webkit-mask: none; mask: none; }
.mc-card.is-pair { border-color: var(--cocoa); box-shadow: 4px 4px 0 var(--cocoa); }
.mc-card.is-pair::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 22%; background: rgba(255, 255, 255, .42); transform: skewX(-28deg); pointer-events: none; }
html.js.wc:not(.rm) .mc-card.is-pair::after { animation: gloss-run .8s ease-out forwards; }
@keyframes gloss-run { from { left: -30%; } to { left: 120%; } }
.mc-card.is-no { animation: no-way .4s ease; }
@keyframes no-way { 25% { translate: -4px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
.mc-board.is-deal .mc-card { animation: deal-in .5s var(--jelly) backwards; }
.mc-board.is-deal .mc-card:nth-child(2) { animation-delay: 40ms; } .mc-board.is-deal .mc-card:nth-child(3) { animation-delay: 80ms; }
.mc-board.is-deal .mc-card:nth-child(4) { animation-delay: 120ms; } .mc-board.is-deal .mc-card:nth-child(5) { animation-delay: 160ms; }
.mc-board.is-deal .mc-card:nth-child(6) { animation-delay: 200ms; } .mc-board.is-deal .mc-card:nth-child(7) { animation-delay: 240ms; }
.mc-board.is-deal .mc-card:nth-child(8) { animation-delay: 280ms; }
@keyframes deal-in { from { opacity: 0; transform: translate(-60%, 80%) rotate(-12deg); } }
.mc-board.is-win { animation: lump-land .6s var(--jelly); }
.mc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; font: 600 15px/1.3 var(--f-b); color: var(--text); }
.mc-meta b { font: 400 22px/1 var(--f-d); margin-left: 4px; }
.mc-meta .osbtn { margin-left: auto; }
.mc-win { margin-top: 14px; font: 400 28px/1.15 var(--f-s); color: var(--text); text-shadow: 0 0 14px rgba(242, 193, 74, .6); }
html.js.wc:not(.rm) #play:not(.is-won) .mc-win { visibility: hidden; }
html.js.wc:not(.rm) #play.is-won .mc-win { animation: tip-in .5s var(--jelly); }

/* wizard */
.win--buy .win__body { padding: 0; }
.wizard { display: grid; }
.wizard__side { display: flex; align-items: center; gap: 16px; padding: 18px 16px; background: var(--cocoa); color: var(--on); border-bottom: 3px solid var(--ink); }
.wizard__side .ph { width: 96px; flex: none; }
.wizard__side p { font: 400 30px/1 var(--f-s); color: var(--on); text-shadow: 2px 2px 0 var(--ink), 0 0 18px rgba(242, 193, 74, .45); }
.wizard__main { padding: 20px 16px 22px; }
.wizard__main h2 { font: 400 30px/1.02 var(--f-d); color: var(--text); text-shadow: 3px 3px 0 var(--slate); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.tick { width: 34px; height: 34px; padding: 3px; border: 3px solid var(--ink); border-radius: 6px; background: var(--butter); box-shadow: 3px 3px 0 var(--ink); }
.tick path { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
html.js.wc:not(.rm) .win--buy:not(.is-in) .tick path { stroke-dashoffset: 24; }
html.js.wc:not(.rm) .win--buy.is-in .tick path { animation: stroke-on .5s ease-out backwards; }
html.js.wc:not(.rm) .win--buy.is-in li:nth-child(1) .tick path { animation-delay: .5s; }
html.js.wc:not(.rm) .win--buy.is-in li:nth-child(2) .tick path { animation-delay: .76s; }
html.js.wc:not(.rm) .win--buy.is-in li:nth-child(3) .tick path { animation-delay: 1.02s; }
@keyframes stroke-on { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.ticks h3 { font: 400 20px/1.1 var(--f-d); color: var(--text); margin-bottom: 4px; }
.ticks p { font-size: 15px; line-height: 1.5; color: var(--text); }
.ticks p img { width: 18px; height: 18px; vertical-align: -3px; }
.wizard__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.wizard__nav .jelly { min-height: 52px; font-size: 19px; }

/* window arrival */
html.js.wc:not(.rm) .win:not(.is-in) .win__frame { opacity: 0; }
html.js.wc:not(.rm) .win.is-in .win__frame { animation: win-open .6s var(--jelly) backwards; }
@keyframes win-open { 0% { opacity: 0; transform: translateY(28px) scale(.93); } 55% { opacity: 1; transform: scale(1.015); } 100% { transform: none; } }
html.js.wc:not(.rm) .win--story:not(.is-in) .card { opacity: 0; }
html.js.wc:not(.rm) .win--story.is-in .card { animation: toast-in .55s var(--jelly) backwards; }
html.js.wc:not(.rm) .win--story.is-in .card:nth-child(1) { animation-delay: .55s; }
html.js.wc:not(.rm) .win--story.is-in .card:nth-child(2) { animation-delay: .78s; }
html.js.wc:not(.rm) .win--story.is-in .card:nth-child(3) { animation-delay: 1.01s; }
@keyframes toast-in { from { opacity: 0; transform: translateX(70px) scale(.92); } }
.win.is-focus .win__frame { animation: win-open .55s var(--jelly); }

/* gallery preview window */
.preview { position: fixed; z-index: 80; left: 50%; top: 50%; width: min(560px, calc(100vw - 32px)); transform: translate(-50%, -50%);
  background: var(--paper); color: var(--text); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); animation: preview-in .45s var(--jelly); }
@keyframes preview-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.9); } }
.preview img { display: block; width: 100%; height: auto; max-height: 64vh; object-fit: contain; background: var(--paper2); border-bottom: 3px solid var(--ink); }
.preview p { padding: 12px 14px; font: 600 15px/1.4 var(--f-b); }
.preview__x { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 6px; font: 800 14px/1 var(--f-b); color: var(--text); cursor: pointer; }

/* the wick (CA copy) */
.wick { position: fixed; z-index: 85; width: 260px; pointer-events: none; background: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  animation: preview-in-fixed .4s var(--jelly); transition: transform .42s cubic-bezier(.6, 0, .4, 1), opacity .42s ease; }
@keyframes preview-in-fixed { from { opacity: 0; transform: scale(.7) translateY(12px); } }
.wick .bar { min-height: 26px; }
.wick .wbtns i { width: 14px; height: 14px; }
.wick__strip { position: relative; height: 26px; margin: 14px; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden;
  background: var(--paper2) repeating-linear-gradient(90deg, transparent 0 9px, rgba(65, 78, 98, .12) 9px 10px); }
.wick__ink { position: absolute; inset: 0 -20% 0 0; background: linear-gradient(90deg, #2448a8, #1f3f99 80%, #142a6b);
  -webkit-mask: var(--blot-streak) 0 0 / 100% 100% no-repeat; mask: var(--blot-streak) 0 0 / 100% 100% no-repeat;
  transform: translateX(-100%); animation: wick-run .9s cubic-bezier(.4, .1, .3, 1) .15s forwards; }
@keyframes wick-run { to { transform: translateX(0); } }
.wick__drop { position: absolute; top: 4px; left: 0; width: 13px; height: 13px; background: #2448a8; border: 2px solid var(--ink);
  border-radius: 50% 0 50% 50%; rotate: -45deg; animation: wick-drop .9s cubic-bezier(.4, .1, .3, 1) .15s forwards; }
@keyframes wick-drop { from { translate: 0 0; } to { translate: 226px 0; } }
.wick.is-tuck { opacity: 0; }

/* ---------- footer: shut down ---------- */
.shut { position: relative; text-align: center; padding: 90px 14px 70px; }
.shut__sign { font: 400 54px/1 var(--f-s); color: var(--on);
  text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 4px 4px 0 var(--edge), 0 0 30px rgba(242, 193, 74, .55); }
.dialog--shut { max-width: 440px; margin: 36px auto 0; text-align: left; }
.shut__line { font: 400 26px/1.1 var(--f-s); color: var(--text); }
.shut__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.shut__row .clock { margin-left: auto; }
.legal { max-width: 640px; margin: 36px auto 0; font-size: 14px; line-height: 1.6; color: var(--on); }
.report { margin-top: 14px; font-size: 14px; }
.report a { color: var(--on); text-decoration: underline; text-underline-offset: 3px; }
.report a:hover { color: var(--butter); }

.bar h2.bar__t { margin: 0; }
@media (max-width: 419px) {
  .bar__s { font-size: 17px; white-space: normal; text-align: right; line-height: 1.05; }
}

/* ---------- 404: file not found ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 40px 12px; }
.lost__box { width: min(520px, 100%); }
.lost__body { display: grid; justify-items: start; gap: 18px; padding: 22px; }
.lost__body img { width: 96px; height: 96px; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink); }
.lost__body .h1__a { max-width: none; font-size: 40px; color: var(--text); text-shadow: 3px 3px 0 var(--slate); }
.lost__body .h1__b { font-size: 34px; color: var(--text); text-shadow: 0 0 14px rgba(242, 193, 74, .6); }
.lost__name { font: 400 40px/1 var(--f-s); color: var(--on); text-shadow: 2px 2px 0 var(--ink), 0 0 22px rgba(242, 193, 74, .5); }

/* ---------- tablet ---------- */
.taskbar:has(.tray .jelly[hidden]) .start__name { display: block; font-size: 16px; }
@media (min-width: 420px) {
  .start__name { display: block; font-size: 15px; max-width: 120px; }
}
@media (min-width: 700px) {
  .start__name { font-size: 18px; max-width: none; }
  .clock-box { display: block; }
  .taskbar { min-height: 60px; }
  .win { padding: 56px 16px; }
  .win__body { padding: 26px 26px; }
  .story { grid-template-columns: 1.15fr 1fr; align-items: start; }
  .folder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .folder figure:last-child { grid-column: auto; }
  .folder figure:first-child { grid-row: span 2; display: flex; flex-direction: column; }
  .folder figure:first-child img { flex: 1; aspect-ratio: auto; min-height: 0; height: 100%; }
  .bar__path { display: block; }
  .wizard { grid-template-columns: 230px 1fr; }
  .wizard__side { flex-direction: column; justify-content: center; text-align: center; border-bottom: 0; border-right: 3px solid var(--ink); padding: 28px 22px; }
  .wizard__side .ph { width: 100%; max-width: 180px; }
  .wizard__side p { font-size: 36px; }
  .wizard__main { padding: 28px 30px 30px; }
  .wizard__main h2 { font-size: 38px; }
  .win h2 span { font-size: 46px; }
  .win h2 em { font-size: 36px; }
  .h1__a { font-size: 76px; }
  .h1__b { font-size: 52px; }
  .buy-slot, #contract { width: auto; }
  .buy-slot .jelly { width: auto; min-height: 64px; font-size: 24px; padding: 0 30px; }
  #contract { flex: 1 1 420px; max-width: 520px; }
  #ca-text { font-size: 14px; }
  .shut__sign { font-size: 96px; }
}

/* ---------- desktop: the vast desktop and floating windows ---------- */
@media (min-width: 1000px) {
  .desk { display: block; min-height: calc(100vh - 80px); padding: 0; }
  .lump-spot { position: absolute; left: 0; right: 0; top: 0; height: 60%; }
  #lump { left: 72%; width: 116px; }
  .tip { font-size: 14px; max-width: 200px; }
  .icons { position: absolute; right: 30px; top: 30px; margin: 0; display: flex; flex-direction: column; gap: 16px; width: 112px; }
  .icon__tile { width: 72px; height: 72px; }
  .icon__label { font-size: 12px; }
  .hero { position: absolute; left: 6.6%; bottom: 52px; width: min(880px, 64%); margin: 0; }
  .kicker { font-size: 12px; margin-bottom: 14px; }
  .h1__a { font-size: clamp(80px, 7.6vw, 112px); }
  .h1__b { font-size: clamp(54px, 4.8vw, 70px); margin-top: 10px; }
  #hero-act { margin-top: 26px; gap: 24px; max-width: 800px; flex-wrap: nowrap; }
  .win { padding: 72px 3% 72px; }
  .win--story .win__frame { width: 68%; margin-left: 4%; }
  .win--story .alerts { position: absolute; top: 132px; right: 3%; width: 23%; margin: 0; gap: 26px; }
  .win--story .card:nth-child(1) { rotate: calc(var(--tilt) * -1); }
  .win--story .card:nth-child(2) { rotate: var(--tilt); margin-left: -18px; }
  .win--story .card:nth-child(3) { rotate: calc(var(--tilt) * -.5); margin-left: 8px; }
  .win--gallery .win__frame { width: 86%; margin: 0 auto; }
  .win--play .win__frame { width: 46%; margin-left: 46%; }
  .win--buy .win__frame { width: 52%; margin-left: 8%; }
  .win__body { padding: 30px 34px; }
  .win h2 span { font-size: 52px; }
  .win h2 em { font-size: 40px; }
  .bar { min-height: 44px; }
  .bar__t { font-size: 12px; }
  .win__frame .bar { cursor: grab; }
  .win__frame.is-lifted .bar { cursor: grabbing; }
  .folder { gap: 24px 20px; }
}
@media (min-width: 1180px) {
  #burger { display: none; }
  .taskbar { gap: 14px; padding: 6px 10px; }
  .tabs { display: flex; position: static; flex-direction: row; align-items: center; gap: 8px; padding: 0; border: 0; box-shadow: none; background: none; margin-left: 18px; max-height: none; overflow: visible; }
  .tab { min-height: 38px; font-size: 14px; padding: 0 12px; }
  .chip--x, .toggle { min-height: 38px; }
}
@media (min-width: 1000px) and (max-height: 760px) {
  .h1__a { font-size: 72px; }
  .h1__b { font-size: 48px; }
  .hero { bottom: 32px; }
}

/* ---------- motion off ---------- */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
