/* The look after the brand art (owner, 2026-12-04): black ground, the profile picture's cream and plum,
   one orange, everything in mono and set wide. Loaded after shell.css by the yard and the rooms. */
body {
  --paper: #000000; --paper-2: #120D0F; --rule: #4A2334; --rule-2: #2A1620; --hair: #6B2B45; --edge: #9A4A6A;
  --ink: #F2E3B9; --ink-2: #C4B592; --cream: #F2E3B9; --plum: #6B2B45; --hot: #FF8A3D;
  --track: .06em; --track-wide: .24em; --lh-loose: 1.75;
  font-family: var(--mono);
}

.mark { letter-spacing: .5em; }
a.mark { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
a.mark:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* Controls are crumbling blocks: corners bitten off in whole pixels, one pixel missing from the top
   edge, a dither where the fill should be, and the profile picture's hard plum shade behind them.
   Pointing at one makes it crumble a different way. */
.bar, .actions { filter: drop-shadow(var(--s-1) var(--s-1) 0 var(--plum)); }
.how, .chip, .copy {
  --a: var(--s-1); --b: var(--s-2); --c: var(--s-3); --gap: 62%;
  border-radius: 0; border-color: var(--edge);
  background: repeating-conic-gradient(var(--rule-2) 0 25%, var(--paper) 0 50%) 0 0 / var(--s-1) var(--s-1);
  clip-path: polygon(0 var(--b), var(--a) var(--b), var(--a) var(--a), var(--b) var(--a), var(--b) 0,
    var(--gap) 0, var(--gap) var(--a), calc(var(--gap) + var(--c)) var(--a), calc(var(--gap) + var(--c)) 0, 100% 0,
    100% calc(100% - var(--c)), calc(100% - var(--a)) calc(100% - var(--c)), calc(100% - var(--a)) calc(100% - var(--a)), calc(100% - var(--c)) calc(100% - var(--a)), calc(100% - var(--c)) 100%,
    0 100%);
  transition: clip-path .16s steps(2, end), color .15s var(--ease), border-color .15s var(--ease);
}
.how:hover, .chip:hover, .copy:hover { --a: var(--s-2); --b: var(--s-3); --c: var(--s-1); --gap: 24%; border-color: var(--ink); color: var(--ink); background: repeating-conic-gradient(var(--plum) 0 25%, var(--paper) 0 50%) 0 0 / var(--s-1) var(--s-1); }
.how:active, .chip:active, .copy:active { --a: var(--s-3); --b: var(--s-3); --gap: 80%; }
.how:focus-visible, .chip:focus-visible, .copy:focus-visible { outline: 2px solid var(--ink); outline-offset: calc(var(--s-2) * -1); }
.chip { letter-spacing: var(--track); gap: var(--s-3); padding: 0 var(--s-4) 0 var(--s-2); }
.chip em { padding: var(--s-1) var(--s-2); background: var(--ink-2); color: var(--paper); font-weight: 600; }
.chip:hover em { background: var(--ink); }
.chip:disabled, .copy:disabled { cursor: not-allowed; }
.chip:disabled:hover, .copy:disabled:hover { --a: var(--s-1); --b: var(--s-2); --c: var(--s-3); --gap: 62%; border-color: var(--edge); color: var(--ink-2); background: repeating-conic-gradient(var(--rule-2) 0 25%, var(--paper) 0 50%) 0 0 / var(--s-1) var(--s-1); }
.xlink { padding: 0; }

.how { letter-spacing: var(--track-wide); padding: 0 var(--s-6); gap: var(--s-4); }
.how.solid, .how.solid:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.how.solid:hover { background: var(--hot); border-color: var(--hot); }
.how.solid:focus-visible { outline-color: var(--paper); }
.how[aria-busy="true"] { cursor: progress; }
/* the buy button is a block that looks at you */
.eyes { display: inline-flex; gap: var(--s-1); flex: none; }
.eyes::before, .eyes::after { content: ""; width: var(--s-1); height: var(--s-2); background: var(--paper); animation: blink 5.5s steps(1, end) infinite; }
@keyframes blink { 0%, 93%, 100% { transform: none; } 94%, 98% { transform: scaleY(.25); } }
/* crumbs that fell off */
.actions { position: relative; }
.actions::before, .actions::after { content: ""; position: absolute; top: calc(100% + var(--s-2)); width: var(--s-1); height: var(--s-1); background: var(--ink); }
.actions::before { left: var(--s-5); }
.actions::after { left: var(--s-8); top: calc(100% + var(--s-4)); background: var(--plum); }

/* the figures: a broken rule of pixels, a different small thing living in each cell, digits with a plum echo */
.strip { position: relative; border-top: 0; border-bottom: 0; margin-top: var(--s-6);
  background: repeating-linear-gradient(90deg, var(--hair) 0 var(--s-3), transparent var(--s-3) var(--s-4)) 0 0 / 100% var(--s-1) no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 var(--s-1), transparent var(--s-1) var(--s-3)) 0 100% / 100% var(--s-1) no-repeat; }
.cell { position: relative; padding: var(--s-5) var(--s-5) var(--s-5); border-right: 0;
  background: repeating-linear-gradient(0deg, var(--rule) 0 var(--s-1), transparent var(--s-1) var(--s-3)) 100% 0 / var(--s-1) 100% no-repeat; }
.cell:last-child { background: none; }
.cell u { width: var(--s-4); height: var(--s-4); margin-bottom: var(--s-4); text-decoration: none; background: var(--ink); clip-path: polygon(0 0, 75% 0, 75% 25%, 100% 25%, 100% 100%, 25% 100%, 25% 75%, 0 75%); position: relative; }
.cell:nth-child(1) u::before, .cell:nth-child(1) u::after { content: ""; position: absolute; top: 37.5%; width: 12.5%; height: 25%; background: var(--paper); animation: blink 4.3s steps(1, end) infinite; }
.cell:nth-child(1) u::before { left: 25%; } .cell:nth-child(1) u::after { left: 62.5%; }
.cell:nth-child(2) u { background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / var(--s-2) var(--s-2); }
.cell:nth-child(3) u { background: var(--hot); width: var(--s-2); height: var(--s-2); margin-top: var(--s-2); clip-path: none; animation: tick 1s steps(1, end) infinite; }
@keyframes tick { 50% { opacity: .25; } }
.cell b { font-size: var(--t-32); letter-spacing: var(--track); text-shadow: calc(var(--s-1) / 2) calc(var(--s-1) / 2) 0 var(--plum); }
.cell span { margin-top: var(--s-4); letter-spacing: var(--track-wide); }
.mark { text-shadow: none; }
.foot { font-family: var(--mono); font-size: var(--t-12); letter-spacing: var(--track); margin-top: var(--s-5); }

/* the page tearing: solid bars and scraps of output, snapped to a 12px grid */
.rip { position: fixed; inset: 0; z-index: 9; pointer-events: none; overflow: hidden; font-family: var(--mono); }
.rip b { position: absolute; height: var(--s-3); background: var(--cream); }
.rip b.p { background: var(--plum); }
.rip span { position: absolute; padding: 0 var(--s-1); font-size: var(--t-12); line-height: var(--lh-body); white-space: nowrap; background: var(--cream); color: var(--paper); }
#veil { position: fixed; inset: 0; z-index: 8; background: var(--paper); }
#warp { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
body.breaking .eat[aria-busy="true"] { background: var(--cream); color: var(--paper); border-color: var(--cream); }

@media (max-width: 760px) {
  .how { padding: 0 var(--s-3); letter-spacing: .12em; gap: var(--s-2); }
  .cell { padding: var(--s-4) var(--s-2) var(--s-3); }
  .cell b { font-size: var(--t-20); }
  .cell span { margin-top: var(--s-3); letter-spacing: .08em; }
  .strip { margin-top: var(--s-4); }
}
