a[data-link][hidden]{display:none!important}
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Unbounded-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Urbanist-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Urbanist-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/Urbanist-normal-800.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/SpaceMono-normal-400.woff2') format('woff2'); }

/* ==========================================================================
   Knot a Sole · "nightwash": one wet street at 3 a.m., a fishmonger on the
   left, a 24-hour laundromat on the right. Neon tubes, wet asphalt.
   Sock blue is sampled from the socks in the art (no slot carries it).
   ========================================================================== */

:root {
  --street: #05070b;
  --pave-sole: #18100c;
  --pave-sole2: #392518;
  --pave-sock: #070c15;
  --sock: #9ccbf0;
  --sock-deep: #2f6fb3;
  --cream: #f6f1ea;
  --paper: #f7f0e3;
  --soft: #cbc2b4;
  --open: #e9ad49;
  --open-ink: #18100c;
  --tan: 207, 154, 92;

  --fd: "Unbounded", "Arial Black", sans-serif;
  --fb: "Urbanist", system-ui, sans-serif;
  --fm: "Space Mono", ui-monospace, monospace;

  --glow-sock: 0 0 1px #fff, 0 0 6px var(--sock), 0 0 16px rgba(156, 203, 240, .8), 0 0 38px rgba(47, 111, 179, .75);
  --glow-cream: 0 0 1px #fff, 0 0 6px var(--cream), 0 0 16px rgba(var(--tan), .75), 0 0 36px rgba(var(--tan), .45);
  --tube-sock: 0 0 0 1.5px rgba(156, 203, 240, .9), 0 0 14px rgba(47, 111, 179, .6), inset 0 0 16px rgba(47, 111, 179, .18);
  --tube-cream: 0 0 0 1.5px rgba(246, 241, 234, .88), 0 0 14px rgba(var(--tan), .5), inset 0 0 16px rgba(var(--tan), .14);
  --pad: clamp(16px, 4.4vw, 64px);
  --band: 0px;
}

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

html { background: var(--street); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--street);
  color: var(--soft);
  font: 400 16px/1.55 var(--fb);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--cream); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--sock); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 14px rgba(156, 203, 240, .6); }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--cream); color: var(--open-ink); }
.skip:focus { left: 16px; }

.kicker {
  font: 700 11px/1.4 var(--fm);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---------- header: the sign's top rail ---------------------------------- */

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 56px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: linear-gradient(rgba(3, 5, 9, .88), rgba(3, 5, 9, 0));
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
html.is-scrolled .top {
  background-color: rgba(4, 6, 10, .78);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(156, 203, 240, .38), 0 8px 24px rgba(47, 111, 179, .14);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--cream); min-width: 0; }
.brand__ring { width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: var(--tube-sock); }
.brand__ring img { display: block; width: 38px; height: 38px; object-fit: cover; }
.brand__name { display: none; font: 800 12px/1 var(--fd); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

#nav {
  position: fixed; top: 64px; left: 12px; right: 12px;
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(5, 8, 13, .97);
  box-shadow: var(--tube-sock), 0 24px 50px rgba(0, 0, 0, .6);
}
#nav.is-open { display: flex; }
#nav a {
  padding: 10px 2px;
  font: 300 20px/1.1 var(--fd);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  transition: text-shadow .18s, color .18s;
}
#nav a:hover, #nav a:focus-visible { color: #fff; text-shadow: var(--glow-sock); }
.nav__x { display: inline-flex; align-items: center; gap: 8px; }
.nav__x img, .foot__nav img { filter: invert(1); }

#motion {
  flex: none;
  padding: 7px 9px;
  border: 1px solid rgba(156, 203, 240, .38);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font: 400 10px/1 var(--fm);
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
  transition: color .2s, box-shadow .2s;
}
#motion:hover { color: #fff; box-shadow: 0 0 12px rgba(156, 203, 240, .45); }

#burger {
  flex: none; width: 40px; height: 40px;
  display: grid; place-content: center; gap: 6px;
  border: 0; border-radius: 10px; background: rgba(156, 203, 240, .08);
  cursor: pointer;
}
#burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--cream); box-shadow: 0 0 6px rgba(156, 203, 240, .7); transition: transform .3s; }
#burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
#burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buy: the amber OPEN tube (the only amber on the site) ------- */

.bait { display: inline-flex; }
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 28px;
  border-radius: 999px;
  background: var(--open);
  color: var(--open-ink);
  font: 800 14px/1 var(--fd);
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(255, 246, 220, .75), 0 0 0 1px rgba(233, 173, 73, .9), 0 0 18px rgba(233, 173, 73, .55), 0 0 52px rgba(233, 173, 73, .28);
  transition: box-shadow .25s, transform .25s, filter .25s;
}
.btn-buy:hover, .btn-buy:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 2px #fff6dc, 0 0 0 1px var(--open), 0 0 26px rgba(233, 173, 73, .8), 0 0 80px rgba(233, 173, 73, .42);
}
.btn-buy--sm { height: 38px; padding: 0 14px; font-size: 10.5px; letter-spacing: .05em; }
.btn-buy--xl { height: 72px; padding: 0 46px; font-size: clamp(16px, 2vw, 21px); }

.ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font: 700 11.5px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  background: linear-gradient(var(--sock), var(--sock)) left bottom / 100% 1px no-repeat;
  transition: text-shadow .2s, background-size .3s;
}
.ghost:hover, .ghost:focus-visible { text-shadow: var(--glow-sock); background-size: 100% 2px; }

/* ---------- 1 · the empty street ---------------------------------------- */

.street {
  position: relative;
  display: flex; flex-direction: column;
  padding-top: 56px;
  overflow: hidden;
  background: var(--street);
}
.scape { position: relative; height: 290px; flex: none; overflow: hidden; --hz: 74%; }
.sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 82% var(--hz), rgba(47, 111, 179, .16), transparent 70%),
    radial-gradient(ellipse 50% 26% at 10% var(--hz), rgba(var(--tan), .09), transparent 70%),
    linear-gradient(to bottom, #020409 0%, #060d17 calc(var(--hz) - 1%), #0b1522 var(--hz), #04060a calc(var(--hz) + .4%), #05080d 100%);
}
.kerb { position: absolute; left: 0; right: 0; top: var(--hz); height: 1px; background: linear-gradient(90deg, transparent, rgba(156, 203, 240, .32) 20%, rgba(156, 203, 240, .32) 80%, transparent); }
.puddle { position: absolute; border-radius: 50%; pointer-events: none; }
.puddle--a { left: 52%; top: calc(var(--hz) + 6%); width: 46%; height: 16%; background: radial-gradient(closest-side, rgba(47, 111, 179, .16), transparent); }
.puddle--b { left: 2%; top: calc(var(--hz) + 12%); width: 34%; height: 12%; background: radial-gradient(closest-side, rgba(var(--tan), .08), transparent); }

/* neon signs, far away */
.sky, .road, .sign { pointer-events: none; }
.sign {
  position: absolute;
  font: 300 11px/1 var(--fd);
  letter-spacing: .12em; white-space: nowrap;
  color: #fff;
}
.sign--sole { left: 5%; top: 16%; bottom: calc(100% - var(--hz)); }
.sign--sock { right: 5%; top: 11%; bottom: calc(100% - var(--hz)); }
.sign__rail { position: absolute; top: -12px; left: 18%; right: 18%; height: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px calc(100% - 1px), rgba(255, 255, 255, .16) calc(100% - 1px)); }
.sign__tube {
  position: relative;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .6em .85em;
  border-radius: 9px;
  background: rgba(255, 255, 255, .018);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.sign--sole .sign__tube { text-shadow: var(--glow-cream); }
.sign--sock .sign__tube { text-shadow: var(--glow-sock); }
.sign__sock { width: 1.4em; height: 1.4em; color: var(--sock); filter: drop-shadow(0 0 3px var(--sock)) drop-shadow(0 0 9px var(--sock-deep)); }
.sign__wet {
  position: absolute; top: 100%; left: 0;
  padding: .6em .85em;
  color: transparent;
  transform-origin: 50% 0;
  translate: 0 220%;
  scale: 1 -2.2;
  filter: blur(9px);
  opacity: .42;
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 100%);
  mask-image: linear-gradient(to top, #000 15%, transparent 100%);
}
.sign--sole .sign__wet { text-shadow: 0 0 6px rgba(246, 241, 234, .9), 0 0 18px rgba(var(--tan), .7); }
.sign--sock .sign__wet { text-shadow: 0 0 6px rgba(156, 203, 240, .9), 0 0 18px rgba(47, 111, 179, .8); padding-left: 2.4em; }

/* the tiny fish */
.fish { position: absolute; left: 50%; top: 26%; width: 84px; margin-left: -42px; z-index: 2; }
/* the character re-lit as its own neon sign: js/site.js lifts the picture's
   ink lines into .fish__trace; the painted body dims behind the tubes */
.fish__trace { position: absolute; left: 0; top: 0; pointer-events: none; }
html.rm .fish__trace { display: none; }
html:not(.rm) .fish.is-traced .fish__img {
  animation: none;
  filter: brightness(.74) saturate(.85) drop-shadow(0 0 1px rgba(156, 203, 240, .5));
}
.fish__tread {
  position: relative;
  filter: drop-shadow(-1.5px 0 0 rgba(246, 241, 234, .85)) drop-shadow(-5px 0 9px rgba(var(--tan), .45));
}
/* backlit by its own neon: a light layer cut to the picture's own shape
   (img/cutout.png as a mask, cream on the fishmonger's side, sock blue on
   the laundromat's) glows behind the dimmed fish */
.fish__halo {
  position: absolute; inset: 0;
  pointer-events: none;
  filter: blur(14px);
  opacity: .9;
}
.fish__halo-light {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246, 241, 234, .95) 10%, rgba(156, 203, 240, 1) 65%, rgba(47, 111, 179, 1));
  -webkit-mask: url("../img/cutout.png") center / contain no-repeat;
  mask: url("../img/cutout.png") center / contain no-repeat;
  transform: scale(1.1);
}
.fish__img {
  position: relative;
  display: block; width: 100%; height: auto;
  filter: brightness(.82) saturate(.9) drop-shadow(1px 0 0 rgba(156, 203, 240, .75)) drop-shadow(-1px 0 0 rgba(246, 241, 234, .6));
}
.readout {
  position: absolute; left: 50%; top: calc(100% + 12px);
  transform: translateX(-50%);
  padding-top: 12px;
  font: 400 9.5px/1 var(--fm);
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  color: var(--sock);
  text-shadow: 0 0 6px rgba(156, 203, 240, .6);
}
.readout::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 8px; background: rgba(156, 203, 240, .6); }

/* the name, painted on the road */
.road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 21%;
  overflow: hidden;
  perspective: 520px; perspective-origin: 50% -40%;
}
.road__paint {
  position: absolute; left: 50%; bottom: 4%;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotateX(52deg);
  font: 900 8.6vw/1 var(--fd);
  letter-spacing: .05em; white-space: nowrap;
  color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cg fill='%2305070b'%3E%3Cellipse cx='20' cy='14' rx='9' ry='3'/%3E%3Cellipse cx='96' cy='52' rx='14' ry='4'/%3E%3Cellipse cx='132' cy='20' rx='5' ry='2'/%3E%3Cellipse cx='58' cy='66' rx='7' ry='2.5'/%3E%3Cellipse cx='150' cy='70' rx='4' ry='3'/%3E%3Cellipse cx='76' cy='30' rx='3' ry='1.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 80px,
    linear-gradient(rgba(246, 241, 234, .8), rgba(246, 241, 234, .66));
  -webkit-background-clip: text;
  background-clip: text;
}

/* the calm column of type */
.hero__col {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  padding: 10px 16px 40px;
}
.street h1 { margin-top: 12px; }
.h1__a {
  display: block;
  font: 800 28px/1.04 var(--fd);
  letter-spacing: -.01em;
  color: var(--cream);
}
.street h1 em {
  display: block; margin-top: 10px;
  font: italic 400 17px/1.3 var(--fm);
  color: var(--sock);
  text-shadow: 0 0 10px rgba(156, 203, 240, .55), 0 0 26px rgba(47, 111, 179, .5);
}
.lede { order: 5; margin-top: 22px; max-width: 400px; font-size: 16px; line-height: 1.6; color: var(--soft); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 20px; }
.hero__cta .bait, .hero__cta .btn-buy { width: 100%; }

/* the night-service panel (CA) */
.panel-wrap { margin-top: 18px; }
.panel {
  position: relative;
  padding: 15px 14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 16, 26, .94), rgba(3, 6, 11, .97));
  box-shadow: var(--tube-sock), 0 20px 44px rgba(0, 0, 0, .55);
  transition: box-shadow .3s;
}
.panel::before, .panel::after {
  content: ""; position: absolute; top: -6px;
  width: 8px; height: 11px; border-radius: 2px;
  background: linear-gradient(#2a323e, #12161d);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
}
.panel::before { left: 26px; }
.panel::after { right: 26px; }
html.ca-copied .panel { box-shadow: 0 0 0 2px #dff0ff, 0 0 26px rgba(156, 203, 240, .9), 0 0 60px rgba(47, 111, 179, .6), inset 0 0 22px rgba(47, 111, 179, .3); }
.panel__label { display: flex; align-items: center; gap: 8px; font: 700 10.5px/1.35 var(--fm); letter-spacing: .15em; text-transform: uppercase; color: var(--soft); }
.panel__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sock); box-shadow: 0 0 8px var(--sock); flex: none; }
#ca-copy {
  display: flex; align-items: center; gap: 12px;
  width: 100%; margin-top: 10px; padding: 10px 11px;
  border: 1px solid rgba(156, 203, 240, .26); border-radius: 8px;
  background: #020407;
  color: var(--sock);
  text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
#ca-copy:hover { border-color: rgba(156, 203, 240, .7); box-shadow: 0 0 14px rgba(47, 111, 179, .45); }
#ca-text {
  flex: 1; min-width: 0;
  font: 400 12.5px/1.5 var(--fm);
  overflow-wrap: anywhere; word-break: break-all;
  color: var(--sock);
  text-shadow: 0 0 6px rgba(156, 203, 240, .5);
}
.ca__tap {
  flex: none;
  padding: 7px 9px; border-radius: 6px;
  font: 700 10px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase;
  color: var(--sock);
  background: rgba(156, 203, 240, .1);
  box-shadow: inset 0 0 0 1px rgba(156, 203, 240, .5);
}
#ca-copy.is-copied .ca__tap { font-size: 0; letter-spacing: 0; color: #fff; background: rgba(156, 203, 240, .22); }
#ca-copy.is-copied .ca__tap::after { content: "Knotted."; font-size: 10px; letter-spacing: .14em; }

.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.key {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 10px;
  border-radius: 7px;
  background: #e8eef5;
  color: #0b1220;
  font: 600 13px/1 var(--fb);
  text-decoration: none;
  box-shadow: 0 3px 0 #6d7f96, 0 0 12px rgba(156, 203, 240, .22);
  transition: transform .14s, box-shadow .14s;
}
.key:hover, .key:focus-visible { transform: translateY(2px); box-shadow: 0 1px 0 #6d7f96, 0 0 18px rgba(156, 203, 240, .5), inset 0 2px 4px rgba(0, 0, 0, .18); }
.key img { width: 16px; height: 16px; display: block; }

/* ---------- 2 · two sides of the street (split) -------------------------- */

.split { position: relative; background: var(--street); }
.split__stage { display: grid; grid-template-columns: 1fr 1fr; }
.half, .track, .cards, .dryers { display: contents; }
.lane { display: none; }

.half__sign {
  grid-column: 1 / -1;
  padding: 44px 20px 4px;
  font: 300 22px/1 var(--fd); letter-spacing: .16em;
  color: #fff;
}
.half__sign span { display: inline-block; padding: .5em .8em; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.half__sign--sole { background: var(--pave-sole); }
.half__sign--sole span { text-shadow: var(--glow-cream); }
.half__sign--sock { background: var(--pave-sock); border-top: 2px dashed rgba(246, 241, 234, .22); }
.half__sign--sock span { text-shadow: var(--glow-sock); }

.title {
  margin-top: 12px;
  font: 800 26px/1.08 var(--fd);
  letter-spacing: -.005em;
  color: var(--cream);
}
.title em {
  display: block; margin-top: 10px;
  font: italic 400 16px/1.35 var(--fm);
  color: var(--sock);
  text-shadow: 0 0 10px rgba(156, 203, 240, .5);
}
.sole-head { grid-column: 1 / -1; padding: 22px 20px 30px; background: var(--pave-sole); }

/* the fishmonger's lit window menus */
.card {
  --band: 16px;
  position: relative; isolation: isolate;
  grid-column: 1 / -1;
  padding: calc(var(--band) + 24px) calc(var(--band) + 20px) calc(var(--band) + 24px) calc(var(--band) + 84px);
  background: var(--pave-sole);
  border-top: 2px dashed rgba(246, 241, 234, .22);
  max-width: none;
}
.card::before {
  content: ""; position: absolute; inset: var(--band); z-index: -1;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .22));
  box-shadow: var(--tube-cream);
}
.card__num {
  position: absolute; left: calc(var(--band) + 20px); top: calc(var(--band) + 18px);
  font: 300 42px/1 var(--fd);
  color: #fff;
  text-shadow: var(--glow-cream);
}
.card h3 { font: 800 17px/1.25 var(--fd); color: var(--cream); letter-spacing: .01em; }
.card p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--soft); }

.window { grid-column: 1 / -1; margin: 0; padding: 26px 20px 40px; background: var(--pave-sole); }
.window__glass {
  position: relative; display: block;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(246, 241, 234, .9), 0 0 18px rgba(var(--tan), .5), 0 30px 60px rgba(0, 0, 0, .5);
  transition: filter 1.2s ease;
}
.window__glass img { display: block; width: 100%; height: auto; }
.window__glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .1) 44%, rgba(255, 255, 255, .03) 50%, transparent 58%) 0 0 / 260% 100%;
}
.window figcaption, .dryers figcaption {
  margin-top: 14px; padding: 9px 12px;
  border-radius: 6px;
  font: 400 12px/1.5 var(--fm);
}
.window figcaption { color: var(--cream); background: #0a0705; box-shadow: inset 0 0 0 1px rgba(246, 241, 234, .2); }

/* the laundromat's dryer doors */
.dryers { counter-reset: dryer; }
.dryers figure {
  counter-increment: dryer;
  margin: 0;
  padding: 16px 14px 12px;
  border: 8px solid var(--pave-sock);
  border-radius: 24px;
  background: linear-gradient(180deg, #151c29, #0a0f18) padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -2px 0 rgba(0, 0, 0, .4);
}
.dryers figure::before {
  content: ""; display: block; height: 6px; margin: 0 4px 12px;
  border-radius: 3px;
  background: radial-gradient(circle, var(--sock) 0 2px, transparent 2.6px) right center / 10px 6px no-repeat, rgba(255, 255, 255, .05);
}
.dryers img {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 7px solid #222b3a;
  box-shadow: 0 0 0 2px rgba(156, 203, 240, .85), 0 0 18px rgba(47, 111, 179, .6);
  transition: rotate 1s cubic-bezier(.2, .8, .2, 1), opacity .8s, transform .5s ease;
  transform: rotate(calc(var(--velocity, 0) * 9deg));
}
.dryers figure:hover img { rotate: 6deg; }
.dryers figcaption { color: var(--sock); background: #03060a; box-shadow: inset 0 0 0 1px rgba(156, 203, 240, .22); }
.dryers figcaption::before { content: "No. 0" counter(dryer) " · "; color: #fff; }

/* phone: the halves take turns */
.half__sign--sole { order: 1; }
.sole-head { order: 2; }
.half__sign--sock { order: 3; }
.dryers figure:nth-child(1) { order: 4; }
.dryers figure:nth-child(2) { order: 5; }
.card:nth-child(1) { order: 6; }
.dryers figure:nth-child(3) { order: 7; }
.dryers figure:nth-child(4) { order: 8; }
.card:nth-child(2) { order: 9; }
.dryers figure:nth-child(5) { order: 10; }
.dryers figure:nth-child(6) { order: 11; }
.card:nth-child(3) { order: 12; }
.window { order: 13; }
.bin { order: 14; }

/* ---------- 3 · lost & found (memory) ------------------------------------ */

.bin { grid-column: 1 / -1; padding: 44px 16px 56px; background: var(--pave-sock); border-top: 2px dashed rgba(246, 241, 234, .22); scroll-margin-top: 70px; }
.title--bin { font-size: 24px; }
.bin__how { margin-top: 14px; font: 400 12px/1.5 var(--fm); letter-spacing: .06em; color: var(--soft); }
.memo {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  max-width: 540px; margin-top: 20px;
}
.memo__card {
  position: relative;
  aspect-ratio: 120 / 156;
  padding: 0; border: 0; border-radius: 12px;
  background: none; color: inherit;
  perspective: 700px;
  cursor: pointer;
}
.memo__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.3, 1.45, .45, 1);
}
.memo__back, .memo__face {
  position: absolute; inset: 0;
  border-radius: 12px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.memo__back {
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 9px;
  font: 400 9.5px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase;
  color: var(--soft);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M14 3h11v17l9 7a5 5 0 0 1-3 9H19a6 6 0 0 1-5-5z' fill='none' stroke='%239ccbf0' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 9h11' stroke='%239ccbf0' stroke-width='1.8'/%3E%3C/svg%3E") center 46% / 46% no-repeat,
    radial-gradient(circle at 50% 11px, #000 0 4px, rgba(156, 203, 240, .4) 4.5px 5.5px, transparent 6px),
    linear-gradient(180deg, #131b28, #090e16);
  box-shadow: inset 0 0 0 1px rgba(156, 203, 240, .35), 0 10px 22px rgba(0, 0, 0, .45);
  transition: box-shadow .2s;
}
.memo__card:hover .memo__back { box-shadow: inset 0 0 0 1px rgba(156, 203, 240, .9), 0 0 16px rgba(47, 111, 179, .55), 0 10px 22px rgba(0, 0, 0, .45); }
.memo__face {
  transform: rotateY(180deg);
  background-color: #0b1730;
  background-size: cover; background-position: center;
  box-shadow: 0 0 0 2px var(--sock), 0 0 16px rgba(47, 111, 179, .55);
}
.memo__face--a { background-image: url("../img/logo-512.jpg"); }
.memo__face--b { background-image: url("../img/coin-700.jpg"); }
.memo__face--c { background-image: url("../img/hero-900.jpg"); background-position: 66% 55%; }
.memo__face--d { background-image: url("../img/feature-700.jpg"); background-position: 42% center; }
.memo__card.is-up .memo__inner, .memo__card.is-paired .memo__inner { transform: rotateY(180deg); }
.memo__card.is-paired .memo__face { box-shadow: 0 0 0 2px var(--cream), 0 0 18px rgba(var(--tan), .5), inset 0 0 0 200px rgba(0, 0, 0, .22); }
.memo__card.is-paired .memo__face::after {
  content: "Paired"; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  padding: 3px 6px; border-radius: 4px;
  font: 700 8.5px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase;
  background: #03060a; color: var(--sock);
}
.memo__card.is-miss { animation: ks-nope .28s ease; }
.memo__threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.memo__threads path { stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(246, 241, 234, .8)); stroke-dasharray: 600; stroke-dashoffset: 600; animation: ks-thread .7s ease forwards; }
.memo__threads circle { fill: var(--cream); }

/* solved and still: motion off, or no script */
html:not(.memo-live) .memo__inner, html.rm .memo__inner { transform: rotateY(180deg); transition: none; }
html:not(.memo-live) .memo__card:nth-child(odd)::after, html.rm .memo__card:nth-child(odd)::after {
  content: ""; position: absolute; z-index: 2; top: 50%; left: calc(100% - 6px);
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--cream);
  box-shadow: 0 0 8px rgba(246, 241, 234, .75);
}
html.rm .memo__threads { display: none; }

.bin__count { margin-top: 18px; font: 400 12px/1.4 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.bin__count b { color: var(--sock); font-weight: 700; text-shadow: 0 0 8px rgba(156, 203, 240, .6); }
.bin__done { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.bin__done p {
  padding: 12px 16px; border-radius: 12px;
  font: 800 15px/1.2 var(--fd); color: var(--cream);
  background: rgba(0, 0, 0, .35);
  box-shadow: var(--tube-cream);
}
.bin__again {
  padding: 10px 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--sock);
  font: 700 11px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1.5px rgba(156, 203, 240, .8);
  cursor: pointer;
  transition: box-shadow .2s, color .2s;
}
.bin__again:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--sock), 0 0 16px rgba(47, 111, 179, .6); }
html.memo-live:not(.rm) .bin:not(.is-won) .bin__done { display: none; }
html:not(.memo-live) .bin__again, html.rm .bin__again { display: none; }

/* ---------- 4 · meet in the middle (Buy) --------------------------------- */

.meet { position: relative; overflow: hidden; padding: 96px 16px 96px; text-align: center; background: var(--street); scroll-margin-top: 40px; }
.meet__ground .g { position: absolute; top: 0; bottom: 0; transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 0 0); }
.g--l { left: 0; width: 50%; background: radial-gradient(ellipse 80% 40% at 30% 100%, rgba(var(--tan), .12), transparent 70%), linear-gradient(var(--pave-sole), #100a07); }
.g--r { right: 0; width: 50%; background: radial-gradient(ellipse 80% 40% at 70% 100%, rgba(47, 111, 179, .2), transparent 70%), var(--pave-sock); }
.meet__ground .g--lane { left: 50%; top: 0; bottom: auto; height: 84px; width: 3px; margin-left: -1.5px; background: repeating-linear-gradient(to bottom, rgba(246, 241, 234, .5) 0 40px, transparent 40px 84px); -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.meet__inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.meet__title {
  display: inline-block;
  margin-top: 14px;
  font: 800 clamp(28px, 5.6vw, 76px)/1.02 var(--fd);
  letter-spacing: .01em;
  color: var(--cream);
  text-shadow: 0 0 22px rgba(156, 203, 240, .25);
}
.shopwin { position: relative; margin: 40px auto 0; max-width: 1080px; padding: 9px; }
.shopwin::before, .shopwin::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; }
.shopwin::before { left: 0; right: 50%; border: 2px solid rgba(246, 241, 234, .92); border-right: 0; border-radius: 20px 0 0 20px; box-shadow: 0 0 16px rgba(var(--tan), .55), inset 0 0 14px rgba(var(--tan), .25); }
.shopwin::after { left: 50%; right: 0; border: 2px solid rgba(156, 203, 240, .95); border-left: 0; border-radius: 0 20px 20px 0; box-shadow: 0 0 16px rgba(47, 111, 179, .7), inset 0 0 14px rgba(47, 111, 179, .3); }
.shopwin img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 66% 55%; border-radius: 12px; }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 16px; text-align: left; }
.step { position: relative; padding: 22px 22px 24px; border-radius: 16px; background: rgba(3, 5, 9, .6); }
.step--sole { box-shadow: var(--tube-cream); }
.step--sock { box-shadow: var(--tube-sock); }
.step--mid { box-shadow: inset 2px 0 0 rgba(246, 241, 234, .85), inset -2px 0 0 rgba(156, 203, 240, .9), inset 0 2px 0 rgba(205, 218, 232, .55), inset 0 -2px 0 rgba(205, 218, 232, .55), 0 0 16px rgba(120, 150, 190, .35); }
.step__no { display: block; font: 300 32px/1 var(--fd); color: #fff; }
.step--sole .step__no { text-shadow: var(--glow-cream); }
.step--mid .step__no, .step--sock .step__no { text-shadow: var(--glow-sock); }
.step h3 { margin-top: 12px; font: 800 17px/1.25 var(--fd); color: var(--cream); }
.step p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--soft); }

.meet__buy { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 52px; padding: 16px; }
.meet__more a { font: 700 11px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-underline-offset: 5px; }
.meet__more a:hover { text-shadow: var(--glow-sock); }

/* ---------- footer: closing time ----------------------------------------- */

.foot { position: relative; overflow: hidden; padding: 72px 16px 40px; background: #020306; color: var(--soft); }
.foot__signbox { position: relative; text-align: center; margin-bottom: 84px; }
.foot__sign, .foot__wet {
  font: 300 clamp(30px, 9vw, 150px)/1 var(--fd);
  letter-spacing: .04em; white-space: nowrap;
}
.foot__sign { color: #fff; text-shadow: var(--glow-sock); }
.foot__k { display: inline-block; }
.foot__wet {
  position: absolute; left: 0; right: 0; top: 100%;
  pointer-events: none;
  color: transparent;
  text-shadow: 0 0 8px rgba(156, 203, 240, .9), 0 0 24px rgba(47, 111, 179, .8);
  transform-origin: 50% 0;
  translate: 0 160%;
  scale: 1 -1.6;
  filter: blur(5px);
  opacity: .42;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.foot__grid { display: grid; gap: 30px; max-width: 1200px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(156, 203, 240, .2); }
.foot__name { font: 800 16px/1.2 var(--fd); color: var(--cream); letter-spacing: .04em; }
.foot__name span { display: block; margin-top: 6px; font: 700 11px/1 var(--fm); letter-spacing: .16em; color: var(--sock); }
.foot__tag { margin-top: 12px; font: italic 400 13px/1.5 var(--fm); color: var(--soft); }
.foot__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot__nav a { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-decoration: none; transition: text-shadow .18s; }
.foot__nav a:hover, .foot__nav a:focus-visible { text-shadow: var(--glow-sock); }
.foot__legal p { font-size: 14px; line-height: 1.65; color: var(--soft); max-width: 560px; }
.foot__legal p + p { margin-top: 12px; }
.foot__legal a { color: var(--cream); text-underline-offset: 4px; }

/* ---------- the sock swarm canvas (js/site.js) ---------------------------- */

.swarm { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; mix-blend-mode: screen; }
html.rm .swarm { display: none; }

/* ---------- 404 ---------------------------------------------------------- */

.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 20px 80px; overflow: hidden; text-align: center; background: linear-gradient(#020409, #08111c 62%, #04060a 62.3%, #05080d); }
.lost__sign { position: absolute; top: 12%; right: 8%; font: 300 clamp(18px, 3vw, 30px)/1 var(--fd); letter-spacing: .16em; color: #fff; text-shadow: var(--glow-sock); }
.lost__inner { position: relative; z-index: 1; }
.lost__logo { display: block; width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; box-shadow: var(--tube-sock); }
.lost h1 { font: 800 clamp(26px, 5vw, 56px)/1.05 var(--fd); color: var(--cream); }
.lost h1 em { display: block; margin-top: 12px; font: italic 400 clamp(16px, 2vw, 22px)/1.3 var(--fm); color: var(--sock); text-shadow: 0 0 10px rgba(156, 203, 240, .5); }
.lost__home { margin-top: 34px; }

/* ==========================================================================
   Wider screens
   ========================================================================== */

@media (min-width: 480px) {
  .brand__name { display: inline; }
}

@media (min-width: 700px) {
  .hero__cta .bait, .hero__cta .btn-buy { width: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step--mid { margin-top: 26px; }
  .shopwin img { aspect-ratio: 21 / 9; }
  .foot__grid { grid-template-columns: 1fr 1fr 2fr; }
}

@media (min-width: 900px) {
  .top {
    height: 64px; padding: 0 var(--pad); gap: 14px;
    display: grid; grid-template-columns: 1fr auto 1fr auto auto;
  }
  .brand { grid-column: 1; margin: 0; }
  .brand__name { font-size: 13px; }
  #nav {
    grid-column: 2;
    position: static; display: flex; flex-direction: row; gap: 30px;
    padding: 0; background: none; box-shadow: none; border-radius: 0;
  }
  #nav a { padding: 6px 0; font: 400 11.5px/1 var(--fm); letter-spacing: .16em; color: var(--soft); }
  #nav a:hover, #nav a:focus-visible { color: #fff; }
  #motion { grid-column: 4; }
  .top .bait { grid-column: 5; }
  #burger { display: none; }
  .btn-buy--sm { height: 40px; padding: 0 18px; font-size: 11.5px; }

  /* the vast street */
  .street { display: block; min-height: 100vh; min-height: 100svh; padding-top: 0; }
  .street > .scape { position: absolute; inset: 0; height: auto; --hz: 63%; }
  .sign { font-size: 21px; }
  .sign--sole { left: max(37%, calc(var(--pad) + 470px)); top: 25%; }
  .sign--sock { right: 6%; top: 22%; }
  .fish { left: 57%; top: 32%; width: 150px; margin-left: 0; }
  .readout { font-size: 11px; top: calc(100% + 14px); padding-top: 16px; }
  .readout::before { height: 11px; }
  .road { height: 23%; perspective: 700px; }
  .road__paint { font-size: 9.2vw; bottom: 2%; transform: translateX(-50%) rotateX(56deg); }

  .hero__col { width: calc(440px + var(--pad)); padding: 116px 0 200px var(--pad); }
  .h1__a { font-size: 46px; line-height: 1.02; }
  .street h1 em { font-size: 23px; margin-top: 12px; }
  .lede { order: 0; margin-top: 18px; font-size: 18px; line-height: 1.55; }
  .hero__cta { margin-top: 24px; }
  .btn-buy { height: 56px; }
  .panel-wrap { margin-top: 24px; }
  #ca-text { font-size: 13.5px; }

  /* the split, still: two columns side by side */
  .split__stage { grid-template-columns: 1fr 6px 1fr; }
  .half { display: block; position: relative; padding: 104px var(--pad) 110px; }
  .half--sole { background: radial-gradient(ellipse 80% 30% at 30% 100%, rgba(var(--tan), .1), transparent 70%), linear-gradient(var(--pave-sole), #120c09); }
  .half--sock { background: radial-gradient(ellipse 80% 30% at 70% 100%, rgba(47, 111, 179, .18), transparent 70%), var(--pave-sock); }
  .track { display: block; }
  .half--sole .track { height: 100%; }
  .lane { display: block; background: repeating-linear-gradient(to bottom, rgba(246, 241, 234, .6) 0 40px, transparent 40px 84px) center 0 / 3px 100% no-repeat, #08090c; }
  .half__sign { padding: 0; margin-bottom: 44px; font-size: 26px; background: none; border: 0; }
  .sole-head { padding: 0; background: none; }
  .title { font-size: clamp(30px, 3vw, 44px); }
  .title em { font-size: 20px; }
  .cards { display: grid; gap: 22px; margin: 44px 0 56px; }
  .card { --band: 0px; padding: 26px 26px 28px 106px; background: none; border: 0; max-width: 540px; }
  .card:nth-child(2) { margin-left: 44px; }
  .card:nth-child(3) { margin-left: 14px; }
  .card__num { font-size: 56px; left: 22px; top: 22px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 17px; }
  .window { padding: 0; background: none; max-width: 580px; position: sticky; top: max(96px, calc(50vh - 210px)); }
  .dryers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .dryers figure { border: 0; padding: 18px 18px 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -2px 0 rgba(0, 0, 0, .4), 0 20px 40px rgba(0, 0, 0, .45); }
  .dryers img { border-width: 9px; }
  .bin { padding: 0; margin-top: 72px; background: none; border: 0; }
  .memo { gap: 14px; }
  .memo__back { font-size: 10px; }
}

/* the split, alive: pinned, the pavements glide in opposite directions.
   js/site.js adds html.split-live (only on wide, tall screens) and sets
   --st (0..1), --lt / --rt (travel, px) and --len (scroll length, px). */
@media (min-width: 1024px) and (min-height: 700px) {
  html.split-live:not(.rm) .split { height: calc(100vh + var(--len, 150vh)); }
  html.split-live:not(.rm) .split__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  html.split-live:not(.rm) .half { height: 100vh; padding: 0; overflow: hidden; }
  html.split-live:not(.rm) .half::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 210px; z-index: 2; pointer-events: none; }
  html.split-live:not(.rm) .half--sole::before { background: linear-gradient(var(--pave-sole) 74%, rgba(24, 16, 12, 0)); }
  html.split-live:not(.rm) .half--sock::before { background: linear-gradient(var(--pave-sock) 74%, rgba(7, 12, 21, 0)); }
  html.split-live:not(.rm) .window { position: static; }
  html.split-live:not(.rm) .half__sign { position: absolute; top: 88px; left: var(--pad); z-index: 3; margin: 0; }
  html.split-live:not(.rm) .track { position: absolute; top: 0; left: var(--pad); right: var(--pad); height: auto; padding: 204px 0 56px; will-change: transform; }
  html.split-live:not(.rm) .track--sole { transform: translate3d(0, calc(var(--st, 0) * var(--lt, 0px) * -1), 0); }
  html.split-live:not(.rm) .track--sock { display: flex; flex-direction: column-reverse; transform: translate3d(0, calc((1 - var(--st, 0)) * var(--rt, 0px) * -1), 0); }
  html.split-live:not(.rm) .track--sock .dryers { display: flex; flex-wrap: wrap-reverse; gap: 22px; }
  html.split-live:not(.rm) .track--sock .dryers figure { width: calc(50% - 11px); }
  html.split-live:not(.rm) .bin { margin: 0 0 64px; }
  html.split-live:not(.rm) .lane { background-position: center calc(var(--st, 0) * 1260px); }
}

@media (min-width: 1200px) {
  .h1__a { font-size: 48px; }
}

/* ==========================================================================
   Motion (all under html.js:not(.rm); motion off shows the finished page)
   ========================================================================== */

html.js:not(.rm) .sign--sole .sign__tube { animation: ks-hum 5.3s linear infinite; }
html.js:not(.rm) .sign--sock .sign__tube { animation: ks-hum 6.9s linear 1.7s infinite; }
html.js:not(.rm) .sign__wet { animation: ks-wet 9s ease-in-out infinite alternate; }
html.js:not(.rm) .fish__tread { animation: ks-tread 11s ease-in-out infinite, ks-rimc 5.3s linear infinite; }
html.js:not(.rm) .fish__halo { animation: ks-hum 6.9s linear 1.7s infinite; }
html.js:not(.rm) .window__glass::after { animation: ks-glass 10s linear infinite; }
html.js:not(.rm) .foot__k { animation: ks-dying 7.6s linear infinite; }
html.js:not(.rm) .foot__wet { animation: ks-wet 9s ease-in-out infinite alternate; }

/* arrivals (js/site.js adds html.ks, then .ks-on when seen) */
html.js.ks:not(.rm) .card:not(.ks-on) .card__num { opacity: .12; text-shadow: none; }
html.js.ks:not(.rm) .card.ks-on .card__num { animation: ks-ignite .8s steps(1, end) both; }
html.js.ks:not(.rm) .card h3, html.js.ks:not(.rm) .card p { transition: opacity .6s .35s, transform .6s .35s; }
html.js.ks:not(.rm) .card:not(.ks-on) h3, html.js.ks:not(.rm) .card:not(.ks-on) p { opacity: 0; transform: translateY(12px); }
html.js.ks:not(.rm) .dryers figure:not(.ks-on) img { opacity: .2; rotate: -14deg; }
html.js.ks:not(.rm) .window:not(.ks-on) .window__glass { filter: brightness(.2); }
html.js.ks:not(.rm) .bin .memo__card { transition: opacity .45s, transform .6s cubic-bezier(.2, 1.3, .4, 1); }
html.js.ks:not(.rm) .bin:not(.ks-on) .memo__card { opacity: 0; transform: translateY(30px) rotate(-6deg); }
.memo__card:nth-child(2) { transition-delay: 60ms; }
.memo__card:nth-child(3) { transition-delay: 120ms; }
.memo__card:nth-child(4) { transition-delay: 180ms; }
.memo__card:nth-child(5) { transition-delay: 240ms; }
.memo__card:nth-child(6) { transition-delay: 300ms; }
.memo__card:nth-child(7) { transition-delay: 360ms; }
.memo__card:nth-child(8) { transition-delay: 420ms; }
html.js.ks:not(.rm) .meet:not(.ks-on) .g--l { clip-path: inset(0 100% 0 0); }
html.js.ks:not(.rm) .meet:not(.ks-on) .g--r { clip-path: inset(0 0 0 100%); }
html.js.ks:not(.rm) .meet.ks-on .meet__title { animation: ks-ignite .9s steps(1, end) .5s both; }

@keyframes ks-hum {
  0%, 88%, 100% { opacity: 1; }
  89% { opacity: .35; }
  90% { opacity: 1; }
  92% { opacity: .5; }
  93% { opacity: 1; }
}
@keyframes ks-rimc {
  0%, 88%, 90%, 93%, 100% { filter: drop-shadow(-1.5px 0 0 rgba(246, 241, 234, .85)) drop-shadow(-5px 0 9px rgba(207, 154, 92, .45)); }
  89%, 92% { filter: drop-shadow(-1px 0 0 rgba(246, 241, 234, .25)) drop-shadow(-3px 0 6px rgba(207, 154, 92, .1)); }
}
@keyframes ks-tread {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -7px) rotate(4deg); }
  50% { transform: translate(0, 0) rotate(0deg); }
  75% { transform: translate(-10px, -7px) rotate(-4deg); }
}
@keyframes ks-wet {
  0% { transform: skewX(-3deg) scaleX(1); }
  50% { transform: skewX(2deg) scaleX(1.05); }
  100% { transform: skewX(-1deg) scaleX(.97); }
}
@keyframes ks-glass {
  0% { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}
@keyframes ks-ignite {
  0% { opacity: .12; }
  18% { opacity: 1; }
  28% { opacity: .2; }
  44% { opacity: 1; }
  54% { opacity: .35; }
  70%, 100% { opacity: 1; }
}
@keyframes ks-nope {
  0%, 100% { translate: 0 0; }
  25% { translate: -5px 0; }
  60% { translate: 4px 0; }
  85% { translate: -2px 0; }
}
@keyframes ks-thread { to { stroke-dashoffset: 0; } }
@keyframes ks-dying {
  0%, 70%, 100% { opacity: 1; }
  71% { opacity: .1; }
  73% { opacity: .9; }
  74%, 86% { opacity: .08; }
  88% { opacity: .7; }
  89% { opacity: .1; }
  91% { opacity: 1; }
}

html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
