/* GreasyCratez · greasy.wtf/Cratez
   House colours: wrinkle black, bone white, red. Each plugin brings its own accent (data.js). */
:root {
  --ink: #121110;
  --ink2: #1b1a18;
  --ink3: #282623;
  --line: #34312d;
  --bone: #eeece6;
  --bone2: #dedad0;
  --red: #e2262b;
  --dim: #8d887e;
  --r: 22px;
  --gap: 10px;
  --wrap: 1320px;
  --cond: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --dela: "Dela Gothic One", var(--cond);   /* plugin names (Google Fonts, SIL OFL) */
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
/* Muro SP by Allan Diego (dafont, "100% Free"): the instruction lines */
@font-face { font-family: "Muro SP"; src: url(assets/fonts/muro-sp.woff2) format("woff2"); font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 16px/1.45 var(--cond); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px; overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 99; background: var(--bone); color: var(--ink); padding: 8px 12px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* word outlines from type.css are masks: they take the text colour */
.t { display: inline-block; background: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
     -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }

main { max-width: var(--wrap); margin: 0 auto; padding: var(--gap); }

/* ---------------------------------------------------------------- shared bits */
.card { border-radius: var(--r); background: var(--ink2); position: relative; overflow: hidden; }
.lbl { font: 700 11px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.lbl.dim, .dim { color: var(--dim); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--cond); letter-spacing: .08em;
        text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--ink); color: var(--bone); }
.chip.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(226,38,43,.25); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 99px;
       font: 800 14px/1 var(--cond); font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
       transition: transform .2s, background .2s, color .2s; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-line { box-shadow: inset 0 0 0 2px currentColor; background: transparent; }
.btn .t-dig { height: 20px; }
.mini { border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 99px; padding: 6px 11px;
        font: 700 11px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--bone); }
.mini:hover { background: var(--bone); color: var(--ink); box-shadow: none; }

/* ---------------------------------------------------------------- hero bento */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.c-logo { grid-column: 1 / 8; grid-row: 1; background: var(--bone); color: var(--ink); padding: 22px 26px 26px;
          display: flex; flex-direction: column; min-height: 560px; }
.c-logo-top { display: flex; gap: 8px; }
.logo-wrap { margin: auto 0 0; padding: 28px 0 6px; perspective: 900px; }
.logo-ink { width: 100%; color: var(--ink); transition: transform .25s ease-out; will-change: transform; }
.sticker { position: absolute; right: 26px; top: 62px; width: min(52%, 380px); color: var(--red); transform: rotate(-6deg); }
.c-logo-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.lede { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 500; max-width: 34ch; }
.c-logo-cta { display: flex; gap: 8px; }

/* pads + sequencer */
.c-pads { grid-column: 8 / 13; grid-row: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: #0c0b0a;
          box-shadow: inset 0 0 0 1px var(--line); }
.lcd { display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; gap: 6px 14px; align-items: center;
       background: #1d2a17; color: #c8f27a; border-radius: 12px; padding: 10px 14px; box-shadow: inset 0 2px 10px rgba(0,0,0,.6), inset 0 0 0 1px #2b3b22;
       font: 700 13px/1 var(--mono); letter-spacing: .06em; text-shadow: 0 0 6px rgba(200,242,122,.35); }
.lcd-state { min-width: 9ch; }
.lcd-state.rec { color: #ff6a5a; text-shadow: 0 0 6px rgba(255,106,90,.5); }
.lcd-bpm { justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.lcd-bpm button { border: 0; background: rgba(200,242,122,.12); color: inherit; width: 20px; height: 20px; border-radius: 5px; cursor: pointer; font: inherit; padding: 0; line-height: 1; }
.lcd-bpm button:hover { background: rgba(200,242,122,.28); }
.lcd-beats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(32, 1fr); gap: 2px; height: 6px; }
.lcd-beats i { border-radius: 2px; background: rgba(200,242,122,.12); }
.lcd-beats i.q { background: rgba(200,242,122,.26); }
.lcd-beats i.ev { background: rgba(200,242,122,.5); }
.lcd-beats i.on { background: #c8f27a; box-shadow: 0 0 6px #c8f27a; }
.lcd-beats i.on.rec { background: #ff6a5a; box-shadow: 0 0 6px #ff6a5a; }

.pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 1; align-content: center; }
.pad { --c: var(--red); position: relative; border: 0; border-radius: 10px; aspect-ratio: 1; cursor: pointer; padding: 0;
       background: linear-gradient(180deg, #3a3733, #2b2926); box-shadow: inset 0 -3px 0 #191816, inset 0 1px 0 #4a4641;
       transition: box-shadow .35s, transform .08s; touch-action: manipulation; }
.pad::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c); opacity: 0; transition: opacity .45s; mix-blend-mode: screen; }
.pad.hit { transform: translateY(1px) scale(.985); box-shadow: inset 0 -1px 0 #191816, 0 0 22px -2px var(--c); transition: none; }
.pad.hit::after { opacity: .92; transition: none; }
.pad .key { position: absolute; right: 8px; bottom: 6px; z-index: 1; font: 700 13px/1 var(--mono); color: #a39d92; transition: color .35s; }
.pad.hit .key { color: var(--ink); transition: none; }

.transport { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.tb { position: relative; border: 0; cursor: pointer; border-radius: 9px; padding: 9px 2px 7px; display: flex; flex-direction: column; align-items: center; gap: 5px;
      background: linear-gradient(180deg, #2f2d2a, #232120); box-shadow: inset 0 -2px 0 #141312, inset 0 1px 0 #44403b; color: var(--bone); transition: transform .06s; }
.tb:active { transform: translateY(1px); }
.tb .ico { font-size: 13px; line-height: 1; letter-spacing: -.1em; }
.tb .tl { font: 700 9px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tb .led { position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: #3a3632; }
.tb-rec .ico, .tb-od .ico { color: #ff5b4f; }
.tb-erase .ico { color: var(--dim); font-size: 11px; }
.tb[aria-pressed="true"] .led { background: var(--lc, #ff5b4f); box-shadow: 0 0 8px var(--lc, #ff5b4f); }
.tb-play { --lc: #7ee35a; }
.tb-pause { --lc: #f6c453; }
.tb-od { --lc: #ff9b3d; }
.tb.blink .led { animation: blink .5s steps(1) infinite; background: var(--lc, #ff5b4f); }

/* the crate */
.c-crate { grid-column: 1 / 9; grid-row: 2 / 4; background: var(--bone2); color: var(--ink); padding: 16px 18px 18px; display: flex; flex-direction: column; min-height: 600px; }
.crate-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cats { display: flex; flex-wrap: wrap; gap: 5px; }
.cat-chip { border: 0; cursor: pointer; padding: 6px 10px; border-radius: 99px; background: transparent; color: var(--ink);
            box-shadow: inset 0 0 0 1.5px rgba(18,17,16,.22); font: 700 11px/1 var(--cond); letter-spacing: .07em; text-transform: uppercase; transition: background .2s, color .2s, box-shadow .2s; }
.cat-chip sup { font-size: 8px; opacity: .55; margin-left: 2px; }
.cat-chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cat-chip[aria-selected="true"] { background: var(--ink); color: var(--bone); box-shadow: none; }
.cat-chip.big { font-size: 12px; padding: 7px 12px; }
.cat-chip.big[aria-selected="true"] { background: var(--red); }
.cats .sep { width: 1px; background: rgba(18,17,16,.18); margin: 2px 4px; }
.crate-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: end; margin-top: 8px; }
.stage { position: relative; height: 100%; min-height: 470px; touch-action: pan-y; }
.stage svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.crate-back { z-index: 0; }
.recs { position: absolute; inset: 0; z-index: 1; perspective: 1100px; perspective-origin: 50% 30%; }
.stage .crate-front { z-index: 2; }
.rec { --c: var(--red); position: absolute; left: 0; top: 0; transform-origin: 50% 100%; padding: 0; border: 0; background: none; cursor: pointer;
       transition: transform .38s cubic-bezier(.25,1.25,.45,1), filter .3s, opacity .3s; will-change: transform; }
.rec .sleeve { position: relative; width: 100%; height: 100%; border-radius: 4px; overflow: hidden; background: var(--c);
               box-shadow: 0 -1px 0 rgba(255,255,255,.25) inset, 0 2px 0 rgba(0,0,0,.25), 0 10px 18px -8px rgba(0,0,0,.6); }
.rec .sleeve img { width: 100%; height: 100%; object-fit: cover; }
.rec .sleeve::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 38%, transparent 70%, rgba(0,0,0,.18)); }
.rec .sticker2 { position: absolute; left: 7px; top: 7px; z-index: 1; background: var(--bone); color: var(--ink); border-radius: 3px; padding: 4px 6px 3px;
                 font: 900 12px/1 var(--cond); font-stretch: 70%; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.rec .vinyl { position: absolute; left: 7%; top: 7%; width: 86%; aspect-ratio: 1; border-radius: 50%;
              background: radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, #1c1b1a 16.5% 100%);
              box-shadow: inset 0 0 0 1px #2a2826, 0 4px 10px rgba(0,0,0,.4);
              transition: transform .5s cubic-bezier(.25,1.2,.45,1); }
.rec .vinyl::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 3px, rgba(255,255,255,.04) 3px 4px); }
.rec .vinyl { --v1: #1c1b1a; --v2: #1c1b1a; }
.vinyl.v-clear { background: radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, color-mix(in srgb, var(--v1) 55%, transparent) 16.5% 100%);
                 box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--v1) 80%, #fff), inset 0 0 26px rgba(255,255,255,.25), 0 4px 10px rgba(0,0,0,.3); }
.vinyl.v-splatter { background:
    radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, transparent 16.5%),
    radial-gradient(circle at 30% 28%, var(--v2) 0 5%, transparent 5.5%), radial-gradient(circle at 70% 64%, var(--v2) 0 7%, transparent 7.5%),
    radial-gradient(circle at 24% 72%, var(--v2) 0 3%, transparent 3.5%), radial-gradient(circle at 78% 26%, var(--v2) 0 4%, transparent 4.5%),
    radial-gradient(circle at 56% 86%, var(--v2) 0 2.5%, transparent 3%), radial-gradient(circle at 14% 46%, var(--v2) 0 2%, transparent 2.5%),
    var(--v1); }
.vinyl.v-marble { background: radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, transparent 16.5%),
    conic-gradient(from 20deg, var(--v1), var(--v2) 12%, var(--v1) 22%, var(--v2) 38%, var(--v1) 47%, var(--v2) 63%, var(--v1) 75%, var(--v2) 88%, var(--v1)); }
.vinyl.v-half { background: radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, transparent 16.5%), linear-gradient(90deg, var(--v1) 50%, var(--v2) 50%); }
.vinyl.v-picture { background: radial-gradient(circle, transparent 0 15%, #111 15.5% 16.5%, transparent 17%), var(--pic) center / 125% no-repeat, #111; }
.vinyl.v-glow { background: radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, #0c140a 16.5% 100%); box-shadow: inset 0 0 0 2px var(--v1), inset 0 0 22px var(--v1), 0 0 18px color-mix(in srgb, var(--v1) 60%, transparent); }
.vinyl.v-galaxy { background: radial-gradient(circle, var(--c) 0 14%, #111 14.5% 16%, transparent 16.5%),
    radial-gradient(circle at 30% 30%, #fff 0 .6%, transparent 1%), radial-gradient(circle at 66% 40%, #fff 0 .5%, transparent .9%),
    radial-gradient(circle at 44% 72%, #fff 0 .7%, transparent 1.1%), radial-gradient(circle at 76% 70%, #fff 0 .4%, transparent .8%),
    radial-gradient(ellipse at 35% 60%, var(--v1), transparent 55%), radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--v1) 70%, #fff), transparent 45%), var(--v2); }
.rec.up .vinyl { transform: translateY(-38%) rotate(40deg); }
.rec.gone { opacity: 0; pointer-events: none; }
.holding { padding: 0 4px 6px; align-self: center; }
.holding h3 { margin: 10px 0 10px; font: 400 clamp(26px, 2.5vw, 36px)/1.02 var(--dela); text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.holding p { margin: 10px 0 16px; font-size: 15px; line-height: 1.4; max-width: 34ch; }
.h-meta { display: flex; gap: 6px; flex-wrap: wrap; min-height: 0; }
.h-meta .chip:first-child { background: var(--hc, var(--ink)); color: var(--ink); }
.h-links { display: flex; gap: 8px; flex-wrap: wrap; }
.h-links .btn { height: 38px; padding: 0 16px; font-size: 13px; }

.c-count { grid-column: 9 / 13; grid-row: 2; background: var(--red); color: var(--bone); padding: 18px 20px; display: flex; flex-direction: column; min-height: 250px; }
.big-num { margin: auto 0 16px; line-height: 0; }
.big-num .t { height: 128px; color: var(--bone); }
.split { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: rgba(0,0,0,.2); }
.split i { display: block; height: 100%; }
.split .fx { background: var(--bone); }
.split .in { background: var(--ink); }
.split-legend { display: flex; justify-content: space-between; margin-top: 8px; font-weight: 600; font-size: 14px; }
.split-legend a { text-decoration: none; }
.split-legend a:hover { text-decoration: underline; }

.c-record { grid-column: 9 / 13; grid-row: 3; background: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); padding: 18px; min-height: 300px; }
.disc { position: absolute; left: 50%; top: 56%; width: 74%; max-width: 230px; aspect-ratio: 1; translate: -50% -50%;
        border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer;
        animation: spin 4s linear infinite; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.disc svg { width: 100%; height: 100%; display: block; }
.disc-label { position: absolute; left: 50%; top: 50%; width: 30%; translate: -50% -50%; color: var(--bone); }
.disc.stopped { animation-play-state: paused; }
.c-record:hover .disc:not(.stopped) { animation-duration: 1.8s; }
@keyframes spin { to { rotate: 360deg; } }
.arm { position: absolute; right: 12%; top: 16%; width: 10px; height: 46%; transform-origin: 50% 8px; rotate: 24deg; transition: rotate .6s; }
.arm::before { content: ""; position: absolute; left: -9px; top: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--bone); }
.arm i { position: absolute; left: 3px; top: 8px; width: 4px; height: 100%; background: var(--bone); border-radius: 3px; }
.arm i::after { content: ""; position: absolute; left: -5px; bottom: -6px; width: 14px; height: 18px; border-radius: 3px; background: var(--red); }
.c-record.off .arm { rotate: 2deg; }

.ticker { grid-column: 1 / -1; height: 46px; border-radius: 99px; background: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
          display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 34px; white-space: nowrap; animation: tick 40s linear infinite; padding-left: 34px; }
.ticker-track span { font: 800 14px/1 var(--cond); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 34px; }
.ticker-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ticker-track span.note { color: var(--dim); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- category heads: graffiti titles */
.cat { margin-top: 110px; scroll-margin-top: 20px; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; margin-bottom: 26px; }
.g-title { margin: 0; line-height: 0; color: var(--red); }
.g-title .t-fx { height: clamp(130px, 19vw, 260px); }
.g-title.g-in { flex: 1; }
.g-title .t-instruments { width: min(100%, 860px); }
.muro { font-family: "Muro SP", var(--cond); font-weight: 400; letter-spacing: .05em; line-height: 1.12; }
.cat-note { flex: none; width: min(470px, 42%); display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 10px; align-items: end; padding-bottom: 8px; }
.g-count { grid-row: 1 / 4; position: relative; line-height: 0; color: var(--red); align-self: start; }
.g-count .t { height: clamp(84px, 8vw, 118px); }
.scribble { position: absolute; left: 6%; bottom: -64px; width: 64px; color: var(--red); transform: rotate(8deg); }
.cat-note p { margin: 0; }
.cat-note .desc { font: 400 18px/1.45 var(--cond); color: var(--bone); max-width: 36ch; }
.cat-note .hint { font: 700 11px/1.4 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.cat-note .om { justify-self: start; font: 800 15px/1 var(--cond); font-stretch: 75%; letter-spacing: .06em; text-transform: uppercase;
                color: var(--red); text-decoration: none;
                background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 5px; transition: background-size .3s; }
.cat-note .om:hover { background-size: 0 2px; background-position: 100% 100%; }
.ix-hint { font-size: 22px; color: var(--bone); }
.foot-card .step { margin: 0 0 6px; line-height: 0; color: var(--red); container-type: inline-size; }
.foot-card .step .t { height: min(24px, 8.3cqw); }

/* ---------------------------------------------------------------- download menu (one, shared) */
.dl-menu { position: fixed; z-index: 60; width: 300px; padding: 6px; border-radius: 16px; background: var(--ink); color: var(--bone);
           box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px rgba(0,0,0,.45); }
.dl-menu[hidden] { display: none; }
.dl-menu a { display: grid; gap: 3px; padding: 11px 12px; border-radius: 11px; color: inherit; text-decoration: none; }
.dl-menu a + a { margin-top: 2px; }
.dl-menu a:hover, .dl-menu a:focus-visible { background: rgba(255,255,255,.08); outline: none; box-shadow: inset 3px 0 0 var(--pc, var(--red)); }
.dl-menu b { font: 800 14px/1.2 var(--cond); }
.dl-menu span { font-size: 12px; line-height: 1.3; color: #a9a397; }
.dl-menu a.rel { border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 11px 11px; margin-top: 4px; }
.foot-card .mail { font: 700 15px/1.3 var(--cond); color: var(--red); text-decoration: none; word-break: break-all; }
.foot-card .mail:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- the gallery: columns that drift against each other as you scroll */
.gallery { display: flex; gap: 14px; align-items: flex-start; }
.g-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.gcard { --c: var(--red); display: block; text-decoration: none; color: var(--bone); border-radius: 18px; overflow: hidden; background: var(--ink2);
         box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s cubic-bezier(.25,1.3,.45,1), opacity .3s, filter .3s; outline: none; }
.gcard .g-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--c); }
.gallery[data-shape="wide"] .gcard .g-img { aspect-ratio: 2 / 1; }
.gcard .g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.gcard .g-cap { display: flex; align-items: center; gap: 9px; padding: 11px 14px 13px; }
.gcard .g-cap::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.gcard .g-name { font: 400 15px/1.1 var(--dela); text-transform: uppercase; }
.gcard .g-fam { margin-left: auto; font: 700 10px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.gallery.hovering .gcard:not(.on) { opacity: .42; filter: saturate(.4); }
.gcard.on { transform: translateY(-6px) rotate(-.6deg); box-shadow: inset 0 0 0 3px var(--c), 0 24px 40px -18px rgba(0,0,0,.9); }
.gcard.on .g-img img { transform: scale(1.06); }
.gcard.ping { animation: ping 1.4s ease-out 2; }
@keyframes ping { 0% { box-shadow: inset 0 0 0 3px var(--c), 0 0 0 0 var(--c); } 100% { box-shadow: inset 0 0 0 3px var(--c), 0 0 0 26px transparent; } }

/* ---------------------------------------------------------------- hover panel */
.peek { position: fixed; z-index: 40; width: 360px; left: 0; top: 0; background: var(--bone); color: var(--ink); border-radius: 22px; overflow: hidden;
        box-shadow: 0 0 0 3px var(--ink), 0 24px 60px -10px rgba(0,0,0,.7); opacity: 0; transform: translateY(6px) scale(.97);
        transition: opacity .18s, transform .22s cubic-bezier(.3,1.4,.5,1); pointer-events: none; }
.peek.show { opacity: 1; transform: none; pointer-events: auto; }
.peek[hidden] { display: block; visibility: hidden; }
.peek-shot { aspect-ratio: 2 / 1; background: var(--ink); }
.peek-shot img { width: 100%; height: 100%; object-fit: cover; }
.peek-body { padding: 14px 18px 18px; }
.peek-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.peek-meta #peekKind { background: var(--pc, var(--red)); color: var(--ink); }
.peek h3 { margin: 12px 0 6px; font: 400 28px/1.02 var(--dela); text-transform: uppercase; letter-spacing: -.01em; }
.peek p { margin: 0 0 14px; font-size: 15px; line-height: 1.35; }
.peek-links { display: flex; gap: 8px; }
.peek-links .btn { height: 38px; padding: 0 16px; font-size: 13px; }

/* moving to and from try.html: the pads and the menu stay put while the rest cross-fades (where supported) */
@view-transition { navigation: auto; }
.c-pads { view-transition-name: pads; }
.pill { view-transition-name: pill; }
.pill-rail > .pill-try[hidden] { display: none; }
.pill-rail > .pill-try { color: var(--ink); background: var(--bone); margin-left: 4px; }
.pill-rail > .pill-try:hover { color: var(--bone) !important; background: var(--red) !important; }

/* ---------------------------------------------------------------- slim menu */
.pill { position: fixed; z-index: 50; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 4px; padding: 5px;
        background: rgba(18,17,16,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
        border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(238,236,230,.14), 0 10px 30px -10px rgba(0,0,0,.8); }
.pill a, .pill button { text-decoration: none; border: 0; background: none; cursor: pointer; }
.pill .pill-home { display: grid; place-items: center; height: 36px; padding: 0 12px; border-radius: 99px; background: var(--bone); color: var(--ink); }
.pill-home .t-logo { width: 86px; }
.pill-rail { position: relative; display: flex; }
.pill-rail > a, .pill-rail > button { position: relative; z-index: 1; height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 3px;
            font: 700 13px/1 var(--cond); font-stretch: 85%; letter-spacing: .05em; text-transform: uppercase; color: var(--bone); border-radius: 99px; transition: color .25s; }
.pill-rail sup { font-size: 9px; color: var(--dim); transition: color .25s; }
.pill-rail > .active { color: var(--ink); }
.pill-rail > .active sup { color: var(--ink); opacity: .6; }
.pill-ind { position: absolute; z-index: 0; top: 0; height: 36px; border-radius: 99px; background: var(--red); width: 0; opacity: 0;
            transition: left .35s cubic-bezier(.3,1.3,.5,1), width .35s cubic-bezier(.3,1.3,.5,1), opacity .2s; }
.pill-rail > a:hover:not(.active), .pill-rail > button:hover { color: #fff; background: rgba(238,236,230,.08); }
.pill .pill-gh { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--bone); }
.pill-gh svg { width: 18px; height: 18px; }
.pill .pill-gh:hover { background: rgba(238,236,230,.1); }

/* ---------------------------------------------------------------- index overlay */
.index { position: fixed; inset: 0; z-index: 60; background: rgba(12,11,10,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
         overflow-y: auto; opacity: 0; transition: opacity .25s; }
.index.open { opacity: 1; }
.index[hidden] { display: block; visibility: hidden; pointer-events: none; }
.index-in { max-width: var(--wrap); margin: 0 auto; padding: 22px 22px 120px; }
.index-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.index-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.index h4 { margin: 0 0 8px; font: 700 12px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.index ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.index-cols > div:last-child ol { columns: 1; }
.index li { break-inside: avoid; }
.ix { --c: var(--red); width: 100%; display: flex; align-items: baseline; gap: 10px; border: 0; background: none; cursor: pointer; padding: 6px 0;
      border-bottom: 1px solid var(--line); text-align: left; }
.ix .n { font: 900 clamp(30px, 4.2vw, 52px)/1 var(--cond); font-stretch: 62%; text-transform: uppercase; transition: color .15s, transform .25s cubic-bezier(.3,1.4,.5,1); }
.ix .f { margin-left: auto; font: 700 11px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ix:hover .n, .ix:focus-visible .n { color: var(--c); transform: translateX(8px); }
.index-float { position: fixed; z-index: 61; left: 0; top: 0; width: 300px; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px; pointer-events: none;
               box-shadow: 0 0 0 3px var(--ink), 0 20px 50px rgba(0,0,0,.7); opacity: 0; transition: opacity .15s; }
.index-float.show { opacity: 1; }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 140px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.foot-card { padding: 18px 20px; background: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.foot-card p { margin: 10px 0 0; color: #c9c5bb; font-size: 15px; }
.foot-card b { color: var(--bone); font-weight: 600; }
.foot-card.links { display: flex; flex-direction: column; gap: 8px; }
.foot-card.links a, .linkish { font: 800 20px/1.1 var(--cond); font-stretch: 70%; text-transform: uppercase; text-decoration: none; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; }
.foot-card.links a:hover, .linkish:hover { color: var(--red); }
.foot-card.links .lbl { margin-bottom: 4px; }
.foot-logo { margin: 60px 0 10px; color: var(--bone); }
.foot-logo .t-logo { width: 100%; }
.foot-small { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--dim); font-size: 13px; padding: 8px 4px 0; flex-wrap: wrap; }
.foot-small .t-tag-mpc { height: 22px; color: var(--red); }

/* ---------------------------------------------------------------- reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2,.9,.3,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .c-logo { grid-column: 1 / -1; min-height: 460px; }
  .c-pads { grid-column: 1 / 8; grid-row: 2; }
  .c-count { grid-column: 8 / 13; grid-row: 2; }
  .c-crate { grid-column: 1 / -1; grid-row: 3; }
  .c-record { display: none; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  :root { --r: 18px; }
  .c-logo { min-height: 380px; padding: 16px 18px 20px; }
  .sticker { top: 56px; right: 14px; width: 66%; }
  .lede { font-size: 16px; }
  .c-pads, .c-count, .c-crate { grid-column: 1 / -1; grid-row: auto; }
  .c-count { min-height: 200px; }
  .big-num .t { height: 104px; }
  .transport { grid-template-columns: repeat(3, 1fr); }
  .crate-body { grid-template-columns: 1fr; }
  .stage { min-height: 400px; }
  .holding { padding-top: 6px; }
  .cat { margin-top: 70px; }
  .cat-head { flex-direction: column; align-items: stretch; }
  .cat-note { width: auto; }
  .g-count .t { height: 58px; }
  .scribble { display: none; }
  .cat-note .desc { font-size: 16px; }
  .g-title .t-fx { height: 140px; }
  .gallery { gap: 8px; }
  .g-col { gap: 8px; }
  .gcard { border-radius: 14px; }
  .gcard .g-cap { padding: 8px 10px 10px; gap: 6px; }
  .gcard .g-name { font-size: 12px; }
  .gcard .g-fam { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .index-cols { grid-template-columns: 1fr; }
  .index ol { columns: 1; }
  .index-float { display: none; }
  .peek { width: auto; left: 10px !important; right: 10px; top: auto !important; bottom: 80px; }
  .peek-shot { aspect-ratio: 2.6 / 1; }
  .peek h3 { font-size: 24px; }
  .pill-home .t-logo { width: 62px; }
  .pill-rail > a, .pill-rail > button { padding: 0 10px; font-size: 12px; }
  .pill-rail sup { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .disc, .ticker-track, .dot { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  .g-col { transform: none !important; }
}
