/* Rádio Difusora 88.9 FM · the studio reel-to-reel deck with its archive of tape boxes */
:root {
  --wall: #1b1f26; --wall-2: #252a33;
  --alu: #c9cdd1; --alu-hi: #e6e9ec; --alu-lo: #8e959c; --alu-ink: #2b3038;
  --walnut: #3a2a20; --walnut-hi: #4d3829; --walnut-lo: #261a12;
  --cream: #efe6cf; --cream-2: #e2d6b8; --ink: #1f2a44; --ink-2: #47526b;
  --amber: #e2a43a; --rec: #c8281e;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --fd: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --fm: 'Sometype Mono', ui-monospace, Consolas, Menlo, monospace;
  --pad: clamp(16px, 3vw, 48px); --gap: clamp(24px, 3vw, 56px);
  --c-shelf: clamp(330px, 26vw, 380px); --sw: 1; --c-deck: clamp(500px, 43vw, 640px);
}
* { box-sizing: border-box; }
html { background: var(--walnut-lo); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--cream); font: 400 16px/1.55 var(--fd); overflow-x: hidden;
  background-color: var(--walnut);
  background-image:
    repeating-linear-gradient(178.6deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 9px, rgba(255, 220, 180, .025) 9px 10px, transparent 10px 23px),
    repeating-linear-gradient(181deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 41px),
    linear-gradient(180deg, #3f2e23, #33251c 60%, #2b1f17);
}
::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
img[data-logo] { display: block; height: 40px; width: auto; }

/* ---------- the room: wall above, desk top at the foot ---------- */
.room {
  position: relative; display: grid; align-items: end;
  grid-template-columns: var(--c-shelf) var(--c-deck) minmax(0, 1fr); grid-template-rows: auto auto 1fr;
  column-gap: var(--gap); padding: 26px var(--pad) 0;
  background-color: var(--wall);
  background-image:
    linear-gradient(180deg, transparent calc(100% - 44px), #4f3a2b calc(100% - 44px), #5a4331 calc(100% - 38px), #463224 100%),
    radial-gradient(circle at 50% 50%, rgba(201, 205, 209, .06) 0 1.2px, transparent 1.6px),
    radial-gradient(120% 80% at 55% 0%, #262b35 0%, var(--wall) 60%, #15181e 100%);
  background-size: 100% 100%, 14px 14px, 100% 100%;
}
.room::after { content: ''; position: absolute; left: 0; right: 0; bottom: 44px; height: 1px; background: rgba(0, 0, 0, .5); box-shadow: 0 1px 0 rgba(255, 220, 180, .12); }
.plate { grid-column: 1; grid-row: 1; align-self: start; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lang { display: inline-flex; border: 1px solid rgba(239, 230, 207, .35); border-radius: 3px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font: 600 13px/1 var(--fm); letter-spacing: .08em; color: rgba(239, 230, 207, .75); cursor: pointer; min-height: 32px; }
.lang button[aria-checked="true"] { background: var(--cream); color: var(--ink); }
.plate h1 { margin: 0; line-height: 0; }
.plate img[data-logo] { height: clamp(50px, 4.3vw, 62px); max-width: 100%; }
.plate .lang { flex: none; }
.intro { grid-column: 1; grid-row: 2; align-self: start; padding: 18px 0 20px; }
.intro .sub { margin: 0; font: 600 15px/1.4 var(--fd); letter-spacing: .01em; color: var(--amber); }
.intro .lede { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: rgba(239, 230, 207, .88); max-width: 42ch; }
.intro .lede b { font-weight: 650; color: var(--cream); }
.intro .rec-word { color: #ff5a45; }

/* ---------- shelf of tape boxes ---------- */
.shelf { grid-column: 1; grid-row: 3; margin-bottom: 20px; position: relative; padding: 0 10px 0; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #2f2119, #45322a 6%, #3a2a20 94%, #2a1d15); box-shadow: 0 24px 34px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 220, 180, .1); }
.board-row { display: flex; align-items: flex-end; gap: 4px; padding: 14px 6px 0; min-height: 194px; background: linear-gradient(180deg, #120c08, #1f1610); box-shadow: inset 0 10px 18px -8px rgba(0, 0, 0, .9), inset 0 -2px 6px rgba(0, 0, 0, .6); }
.board { position: relative; z-index: 1; margin: 0 -10px; padding: 6px 14px 7px; background: linear-gradient(180deg, #5d4533, #4a3628 40%, #3a2a20); box-shadow: 0 2px 0 #24180f, 0 6px 10px -4px rgba(0, 0, 0, .6); }
.board span { display: inline-block; padding: 1px 8px; background: var(--cream); color: var(--ink); font: 500 15px/1.35 var(--fm); transform: rotate(-.6deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.board + .board-row { margin-top: 0; }

.spine {
  position: relative; flex: none; width: calc(var(--w) * var(--sw)); height: var(--h); padding: 0; border: 0; border-radius: 2px 2px 0 0; cursor: grab; touch-action: pan-x;
  background-color: var(--c, #1f2a44);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(255, 255, 255, .1) 16%, rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, .14) 90%, rgba(0, 0, 0, .4)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 1px 0 0 rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease), opacity .3s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.spine:hover, .spine:focus-visible { transform: translateY(-12px); }
.spine .sp-n { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); min-width: 26px; padding: 1px 2px; background: rgba(239, 230, 207, .92); color: var(--ink); font: 600 15px/1.2 var(--fm); text-align: center; }
.spine .sp-l { position: absolute; top: 34px; bottom: 14px; left: 50%; width: calc(var(--w) * var(--sw) - 8px); transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  display: flex; align-items: center; justify-content: center; text-align: center; background: var(--cream); color: var(--ink); font: 500 15px/1.02 var(--fm); letter-spacing: -.02em; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(31, 42, 68, .12); background-image: repeating-linear-gradient(90deg, transparent 0 16px, rgba(31, 42, 68, .06) 16px 17px); }
.spine .sp-b { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0, 0, 0, .25); }
.spine.ad { --c: #1f2a44; }
.spine.ad::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--amber); }
.spine.blank { --c: #a91f17; }
.spine.blank .sp-l { background: #f6eedb; color: var(--rec); }
.spine .sp-tick { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: 16px; height: 16px; border-radius: 2px; background: var(--amber); opacity: 0; transition: opacity .3s var(--ease); z-index: 2; }
.spine .sp-tick::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.spine.ticked .sp-tick { opacity: 1; }
.spine.out { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(239, 230, 207, .22); transform: none; cursor: pointer; }
.spine.out > * { visibility: hidden; }
.spine.out::before { display: none; }
.spine.lift { opacity: .25; }
body.dragging, body.dragging * { cursor: grabbing !important; }

@media (max-width: 1399px) and (min-width: 1101px) { :root { --sw: .9; } .board-row { gap: 3px; } }

/* first arrival: the boxes settle on the shelf one by one, the deck and the wall letters come up */
body.boot .spine { animation: rise .8s var(--ease) both; animation-delay: calc(var(--k) * 45ms + 180ms); }
body.boot .deck { animation: deckIn 1s var(--ease) both; }
body.boot .numerals span { animation: rise 1.1s var(--ease) both; } body.boot .numerals span + span { animation-delay: .12s; }
body.boot #reelT { animation: fadeIn .8s .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes deckIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* the box in flight */
.fly { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; border-radius: 3px; display: grid; place-content: center; gap: 8px; padding: 12px; text-align: center;
  background-color: var(--c); background-image: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .2)); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(0, 0, 0, .3); }
.fly .fl-n { justify-self: center; padding: 0 6px; background: var(--cream); color: var(--ink); font: 600 15px/1.3 var(--fm); }
.fly .fl-t { background: var(--cream); color: var(--ink); padding: 6px 8px; font: 650 14px/1.2 var(--fd); }
.fly.ghost { transform-origin: 50% 50%; }

/* ---------- the deck ---------- */
.deck { grid-column: 2; grid-row: 1 / 4; margin: 0 0 20px; container-type: inline-size; position: relative; z-index: 2; }
.deck-in { position: relative; padding: 3.4cqw 3.8cqw 3.8cqw; border-radius: 1.8cqw; color: var(--alu-ink);
  background-color: var(--alu);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 2px, rgba(0, 0, 0, .025) 2px 3px, transparent 3px 5px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, #dde0e3 0%, #c7cbd0 48%, #b6bbc1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 0 0 1px #6f767d, 0 3px 0 #80878e, 0 40px 60px -26px rgba(0, 0, 0, .85); }
.deck.hot .deck-in { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 3px var(--amber), 0 3px 0 #80878e, 0 40px 60px -26px rgba(0, 0, 0, .85); }
.screw { position: absolute; width: 2.2cqw; height: 2.2cqw; min-width: 9px; min-height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f1f3f5, #8b9198 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.screw::after { content: ''; position: absolute; left: 18%; right: 18%; top: 46%; height: 1.5px; background: #5c6269; transform: rotate(35deg); }
.s1 { left: 1.4cqw; top: 1.4cqw; } .s2 { right: 1.4cqw; top: 1.4cqw; } .s3 { left: 1.4cqw; bottom: 1.4cqw; } .s4 { right: 1.4cqw; bottom: 1.4cqw; }
.deck-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 1.4cqw; }
.engr { font: 650 max(11px, 1.9cqw)/1 var(--fd); letter-spacing: .22em; text-transform: uppercase; color: #4c535c; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.freq { display: inline-flex; align-items: center; gap: .5em; padding: .45em .8em; background: #15171b; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7);
  font: 700 max(15px, 2.6cqw)/1 var(--fd); letter-spacing: .02em; color: #d5d9dd; white-space: nowrap; }
.freq .am { color: #8f969e; }
.freq .fm { color: var(--amber); }
.freq svg { width: 1.7em; height: .7em; color: #8f969e; }
.transport { margin: 1.6cqw 0 0; }
#tsvg { display: block; width: 100%; height: auto; overflow: visible; }
#tsvg .hub-well { fill: #2b2f35; } #tsvg .spindle { fill: #a6adb4; } #tsvg .keys { stroke: #a6adb4; stroke-width: 3; }
#tsvg .drop-c { fill: rgba(31, 42, 68, .04); stroke: rgba(31, 42, 68, .42); stroke-width: 1.6; stroke-dasharray: 5 6; }
#tsvg .drop-t { font: 500 17px var(--fm); fill: #3a4252; letter-spacing: .06em; }
#tsvg .drop { transition: opacity .3s var(--ease); }
#tsvg .drop.gone { opacity: 0; }
.deck.hot #tsvg .drop-c { stroke: var(--rec); fill: rgba(200, 40, 30, .07); }
#tsvg .reel-g { opacity: 0; transform: translateY(-16px) scale(1.1); transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .28s var(--ease), transform .45s cubic-bezier(.34, 1.4, .64, 1); }
#tsvg .reel-g.on { opacity: 1; transform: none; }
#tsvg .flange { fill: url(#gFl); fill-rule: evenodd; stroke: rgba(40, 44, 50, .45); stroke-width: .8; }
#tsvg .hubcap { fill: var(--cream); stroke: rgba(0, 0, 0, .35); stroke-width: 1; }
#tsvg .hubnum { font: 600 15px var(--fm); fill: var(--ink); text-anchor: middle; }
#tsvg .reel-g.blank .hubcap { fill: var(--rec); } #tsvg .reel-g.blank .hubnum { fill: var(--cream); }
#tsvg .hcover { fill: #4a5058; stroke: rgba(255, 255, 255, .08); }
#tsvg .hlabel { font: 700 11px var(--fd); letter-spacing: .34em; fill: #c9cdd1; text-anchor: middle; }
#tsvg .head { fill: #c3c8cd; stroke: #6d747b; stroke-width: .8; }
#tsvg .roller { fill: #d6dade; stroke: #6d747b; stroke-width: 1.2; }
#tsvg .capstan { fill: #eef0f2; stroke: #6d747b; } #tsvg .pinch { fill: #17191d; }
#tsvg .tape { fill: none; stroke: #3b2416; stroke-width: 3.2; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
#tsvg .tape.on { opacity: 1; }

.meters { display: grid; grid-template-columns: minmax(0, 1.75fr) auto minmax(0, 1fr); gap: 2.4cqw; align-items: stretch; margin-top: 2.2cqw; }
.display { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 1.6cqw 2.2cqw; border-radius: 5px; background: #0e1013;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .7); color: var(--amber); }
.display .d-k { font: 650 12px/1.2 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: rgba(226, 164, 58, .78); display: flex; align-items: center; gap: 8px; }
.display .d-k::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px var(--rec); }
.display .d-now { font: 650 max(18px, 3.5cqw)/1.1 var(--fd); letter-spacing: -.01em; color: #f2b44a; text-shadow: 0 0 12px rgba(226, 164, 58, .35); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.display .d-at { font: 400 15px/1.3 var(--fm); color: rgba(226, 164, 58, .85); }
.display .d-tape { font: 400 13px/1.3 var(--fd); color: rgba(239, 230, 207, .72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.counter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.digits { display: flex; gap: 2px; padding: 4px; background: #0e1013; border-radius: 4px; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .7); }
.dg { display: block; width: 1em; height: 1.3em; overflow: hidden; font: 500 max(20px, 3.4cqw)/1.3 var(--fm); color: #f3efe4; background: linear-gradient(180deg, #2a2e34, #121418 30%, #121418 70%, #2a2e34); border-radius: 2px; text-align: center; }
.dg i { display: block; font-style: normal; height: 1.3em; transform: translateY(calc(var(--d, 0) * -1.3em)); transition: transform .3s var(--ease); }
.dg:last-child { color: var(--amber); }
.m-l { font: 650 11px/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: #4c535c; }
.vu { border-radius: 5px; padding: 4px; background: #0e1013; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .7); }
.vu svg { display: block; width: 100%; height: 100%; min-height: 60px; border-radius: 3px; background: radial-gradient(120% 120% at 50% 100%, #fbd88f, #eab14c 55%, #d18f25); }
.vu .vu-arc { fill: none; stroke: #2b2116; stroke-width: 1.3; } .vu .vu-red { fill: none; stroke: var(--rec); stroke-width: 3; }
.vu .vu-ticks line { stroke: #2b2116; stroke-width: 1.2; } .vu .vu-ticks line.hot { stroke: var(--rec); }
.vu .vu-l { font: 700 9px var(--fd); letter-spacing: .2em; fill: #2b2116; text-anchor: middle; }
.vu .needle line { stroke: #1b140c; stroke-width: 1.5; } .vu .pivot { fill: #1b140c; }

.keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 1.6cqw; margin-top: 2.6cqw; }
.key { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: max(52px, 11cqw); padding: 6px 4px 7px;
  border: 1px solid #6f767d; border-radius: 4px; cursor: pointer; text-decoration: none; color: #2b3038;
  background: linear-gradient(180deg, #f6f7f8, #d9dde0 60%, #c3c8cc); box-shadow: 0 4px 0 #6b7178, 0 7px 10px -3px rgba(0, 0, 0, .4), inset 0 1px 0 #fff;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background .2s; }
.key svg { width: max(18px, 3.6cqw); height: max(18px, 3.6cqw); fill: currentColor; }
.key span { font: 650 max(11px, 1.8cqw)/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.key:hover { background: linear-gradient(180deg, #fff, #e3e6e9 60%, #cdd1d5); }
.key:active, .key.down { transform: translateY(3px); box-shadow: 0 1px 0 #6b7178, 0 2px 4px -1px rgba(0, 0, 0, .4), inset 0 1px 3px rgba(0, 0, 0, .18); background: linear-gradient(180deg, #d4d8dc, #c3c8cc); }
.key-rec { color: var(--rec); } .key-rec span { color: #2b3038; }
.key-rec .lamp { position: absolute; top: 6px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: #5e1d17; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }
body.recording .key-rec .lamp { background: #ff4433; box-shadow: 0 0 10px 2px rgba(255, 60, 40, .7); }
.key-live { background: linear-gradient(180deg, #3a3f47, #262a30); color: var(--amber); border-color: #15171b; box-shadow: 0 4px 0 #15171b, 0 7px 10px -3px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .15); }
.key-live:hover { background: linear-gradient(180deg, #454b54, #2d3138); }
.key-live svg { fill: none; }

/* ---------- wall: cut aluminium numerals and the studio clock ---------- */
.wall { grid-column: 3; grid-row: 1 / 4; align-self: stretch; position: relative; padding: 4px 0 64px; display: flex; flex-direction: column; align-items: flex-end; }
.numerals { display: flex; flex-direction: column; align-items: flex-end; margin-right: -.04em; font: 800 clamp(118px, 12.6vw, 200px)/.8 var(--fd); letter-spacing: -.065em;
  background: linear-gradient(180deg, #f1f3f5 0%, #b9bec4 46%, #8e959c 52%, #d3d7db 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); }
.numerals span:last-child { margin-top: .02em; }
.wall-cap { margin: 14px 0 0; max-width: 24ch; text-align: right; font: 400 15px/1.4 var(--fm); color: rgba(239, 230, 207, .62); }
.clock { width: min(190px, 72%); margin-top: auto; align-self: flex-end; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); }
.clock .c-rim { fill: #2e333b; stroke: #8e959c; stroke-width: 3; } .clock .c-face { fill: #101317; }
.clock line { stroke: rgba(239, 230, 207, .55); stroke-width: 1.4; } .clock line.big { stroke: var(--cream); stroke-width: 3.2; }
.clock .c-h { stroke: var(--cream) !important; stroke-width: 6 !important; stroke-linecap: round; } .clock .c-m { stroke: var(--cream) !important; stroke-width: 3.6 !important; stroke-linecap: round; }
.clock .c-p { fill: var(--rec); } .clock .c-l { font: 600 11px var(--fd); letter-spacing: .3em; fill: rgba(239, 230, 207, .55); text-anchor: middle; }

/* ---------- desk: the content sheet and the small print ---------- */
.desk { display: grid; grid-template-columns: var(--c-shelf) minmax(0, 1fr); column-gap: var(--gap); padding: 40px var(--pad) 72px; align-items: start; }
.folha { grid-column: 2; grid-row: 1; min-width: 0; max-width: 980px; }
.colophon { grid-column: 1; grid-row: 1; padding-top: 18px; font-size: 14px; line-height: 1.55; color: rgba(239, 230, 207, .82); }
.colophon p { margin: 0 0 12px; }
.colophon .co-k { font: 500 15px/1.3 var(--fm); color: var(--cream); padding-bottom: 8px; border-bottom: 1px solid rgba(239, 230, 207, .25); }
.colophon .co-c a { color: var(--cream); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(226, 164, 58, .6); }
.colophon .co-l a { color: var(--cream); }

.sheet { position: relative; color: var(--ink); padding: 26px clamp(18px, 3vw, 40px) 30px; border-top: 7px solid var(--c, var(--ink));
  background-color: var(--cream);
  background-image: radial-gradient(130% 90% at 20% 0%, rgba(255, 255, 255, .35), transparent 60%), repeating-linear-gradient(0deg, rgba(120, 100, 60, .025) 0 1px, transparent 1px 3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .15), 0 28px 44px -20px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .3);
  transform: rotate(-.3deg); transform-origin: 50% 0; }
.sheet.in { animation: sheetOut .75s var(--ease) both; }
@keyframes sheetOut { from { clip-path: inset(0 0 100% 0); transform: translateY(-40px) rotate(-.3deg); } to { clip-path: inset(0 0 -60px 0); transform: rotate(-.3deg); } }
.sheet :focus-visible { outline-color: var(--rec); }
.lbl-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.lbl-no { font: 600 15px/1 var(--fm); padding: 6px 7px; border: 1.5px solid var(--ink); align-self: center; }
.lbl-t { font: 750 clamp(23px, 2.3vw, 34px)/1.05 var(--fd); letter-spacing: -.025em; }
.lbl-side { font: 400 15px/1 var(--fm); color: var(--ink-2); white-space: nowrap; }
.sh-k { margin: 12px 0 6px; font-size: 15px; color: var(--ink-2); }
.sh-n { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); max-width: 70ch; }
.sheet ol { list-style: none; margin: 0; padding: 0; }
.grid li { display: grid; grid-template-columns: 9.4em minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 10px 6px; border-bottom: 1px dashed rgba(31, 42, 68, .28); }
.grid li.is-now { background: linear-gradient(90deg, rgba(226, 164, 58, .38), rgba(226, 164, 58, .08)); }
.grid .tm { font: 400 16px/1.3 var(--fm); white-space: nowrap; }
.grid .tm i { font-style: normal; opacity: .5; padding: 0 2px; }
.grid .pg { font: 650 18px/1.25 var(--fd); }
.tgs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tg { display: inline-block; padding: 2px 7px; border: 1px solid rgba(31, 42, 68, .5); border-radius: 2px; font: 600 12.5px/1.4 var(--fd); letter-spacing: .04em; text-transform: lowercase; color: var(--ink); background: none; white-space: nowrap; }
.tg.now { background: var(--amber); border-color: var(--amber); }
button.tg { cursor: pointer; border-color: var(--ink); }
button.tg:hover { background: var(--ink); color: var(--cream); }
.news li { display: grid; grid-template-columns: 7.4em minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline; padding: 14px 6px; border-bottom: 1px dashed rgba(31, 42, 68, .28); }
.news .dt { font: 400 15px/1.3 var(--fm); color: var(--ink-2); }
.news .hl { font: 650 clamp(18px, 1.6vw, 22px)/1.25 var(--fd); letter-spacing: -.01em; }
.news a { font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.news a:hover { color: var(--rec); }
.ext { width: .8em; height: .8em; margin-left: 4px; vertical-align: -.05em; }
.news li.ex .hl { font-weight: 400; font-style: italic; color: var(--ink-2); }
.news li.ex .dt { opacity: .6; }
.exk, .stamp { display: inline-block; justify-self: start; padding: 2px 8px; border: 2px solid var(--rec); color: var(--rec); font: 700 12.5px/1.3 var(--fd); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-3deg); border-radius: 2px; white-space: nowrap; }
.hist li { display: grid; grid-template-columns: 9.4em minmax(0, 1fr); gap: 4px 18px; padding: 11px 6px; border-bottom: 1px dashed rgba(31, 42, 68, .28); font-size: 16.5px; }
.hist .yr { font: 500 16px/1.4 var(--fm); }
.sheet blockquote { margin: 22px 0 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--amber); }
.sheet blockquote p { margin: 0; font: italic 400 clamp(18px, 1.7vw, 22px)/1.45 var(--fd); max-width: 60ch; }
.sheet blockquote footer { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.ficha h3 { margin: 18px 0 0; font: 750 clamp(26px, 2.6vw, 38px)/1.05 var(--fd); letter-spacing: -.03em; max-width: 22ch; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 14px 0 6px; }
.price b { font: 800 clamp(48px, 5.4vw, 80px)/.9 var(--fd); letter-spacing: -.045em; }
.price span { font: 500 17px/1 var(--fd); color: var(--ink-2); }
.price .na { font: 650 22px/1.2 var(--fd); color: var(--ink); }
.price .stamp { align-self: center; font-size: 13px; }
.ficha dl { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ficha dl div { padding: 10px 0; border-top: 1px dashed rgba(31, 42, 68, .3); }
.ficha dt { font: 650 12.5px/1.2 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ficha dd { margin: 4px 0 0; font-size: 17px; line-height: 1.45; }
.f-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
.tick { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.tick input, .pk input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.btn { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 3px; background: none; color: var(--ink); font: 650 15.5px/1.1 var(--fd); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--ink); color: var(--cream); }
.btn-rec { background: var(--rec); border-color: #8f1a12; color: #fff7ea; box-shadow: 0 3px 0 #7b160f; }
.btn-rec:hover { background: #a91f17; color: #fff7ea; }
.btn-rec:active { transform: translateY(2px); box-shadow: 0 1px 0 #7b160f; }
.btn .dot { width: 10px; height: 10px; border-radius: 50%; background: #fff7ea; }
.idx li button { width: 100%; display: grid; grid-template-columns: 2.6em minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 4px 16px; align-items: baseline; text-align: left; padding: 10px 6px; border: 0; border-bottom: 1px dashed rgba(31, 42, 68, .28); background: none; color: var(--ink); cursor: pointer; transition: background .2s var(--ease); }
.idx li button:hover { background: rgba(31, 42, 68, .07); }
.idx .n { font: 600 15px/1.3 var(--fm); }
.idx .t { font: 650 17px/1.3 var(--fd); }
.idx .s { font-size: 14.5px; color: var(--ink-2); }
.idx .s em { font-style: normal; color: var(--rec); font-weight: 600; }
.idx li.ad .n { background: var(--ink); color: var(--cream); justify-self: start; padding: 0 4px; }
.idx li.blank .n { background: var(--rec); color: var(--cream); justify-self: start; padding: 0 4px; }

/* the request: a blank box label to fill in */
.rec { --c: var(--rec); }
.rec[hidden] { display: none; }
.rec.in { animation: sheetOut .75s var(--ease) both; }
.rec .lbl-head { grid-template-columns: auto minmax(0, 1fr) auto; }
.rec .lbl-no { background: var(--rec); color: var(--cream); border-color: var(--rec); }
.rec .x { align-self: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 3px; background: none; color: var(--ink); font: 400 24px/1 var(--fd); cursor: pointer; }
.rec-intro { margin: 12px 0 0; font-size: 15.5px; max-width: 64ch; }
.picks { margin: 16px 0 0; padding: 0; border: 0; }
.picks legend { padding: 0; font: 650 12.5px/1.2 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
#picks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.pk { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed rgba(31, 42, 68, .25); cursor: pointer; font-size: 15px; line-height: 1.35; }
.pk input { margin-top: 1px; }
.pk b { font-weight: 650; } .pk i { display: block; font-style: normal; font-size: 13.5px; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 18px; }
.fields label { display: flex; flex-direction: column; gap: 4px; }
.fields label.wide { grid-column: 1 / -1; }
.fields span { font: 650 12.5px/1.2 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fields input, .fields textarea { width: 100%; padding: 8px 2px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: rgba(255, 255, 255, .28); color: var(--ink); font: 400 16px/1.4 var(--fm); resize: vertical; }
.fields input::placeholder, .fields textarea::placeholder { color: rgba(31, 42, 68, .55); }
.fields input:focus, .fields textarea:focus { outline: none; background: rgba(255, 255, 255, .6); border-bottom-color: var(--rec); }
.rule { margin: 18px 0 0; padding: 10px 14px; border-left: 4px solid var(--ink); background: rgba(31, 42, 68, .06); font-size: 14.5px; max-width: 70ch; }
.err { min-height: 1.4em; margin: 10px 0 0; font-weight: 650; color: #a31c13; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.sent { margin-top: 16px; padding: 16px 18px; border: 2px dashed var(--ink); }
.sent[hidden] { display: none; }
.sent b { font: 750 20px/1.2 var(--fd); }
.sent p { margin: 6px 0 10px; font-size: 15px; }
.sent pre { margin: 0; white-space: pre-wrap; font: 400 15px/1.45 var(--fm); max-height: 260px; overflow: auto; }

/* ---------- review mode ---------- */
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }

/* ---------- narrower screens: deck on top, shelf as a row you swipe ---------- */
@media (max-width: 1100px) {
  .room { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-bottom: 0; }
  .plate, .intro, .deck, .shelf, .wall { grid-column: 1; grid-row: auto; }
  .plate { order: 1; } .intro { order: 2; } .deck { order: 3; } .shelf { order: 4; } .wall { order: 5; }
  .intro { padding: 18px 0 18px; }
  .intro .lede { max-width: 60ch; }
  .deck { width: min(100%, 640px); justify-self: center; margin-bottom: 26px; }
  .wall { display: none; }
  .shelf { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; justify-content: start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--pad), 10px); margin: 0 calc(-1 * var(--pad)) 44px; padding: 0; border-radius: 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .board-row { padding-left: max(var(--pad), 10px); padding-right: 14px; }
  .board { margin: 0; padding-left: max(var(--pad), 10px); }
  .board span { white-space: nowrap; }
  .spine { scroll-snap-align: start; }
  .desk { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .folha { grid-column: 1; grid-row: 1; }
  .colophon { grid-row: 2; padding-top: 34px; max-width: 60ch; }
}
@media (max-width: 760px) {
  .plate img[data-logo] { height: 50px; }
  .deck-in { padding: 4cqw 3.4cqw 4cqw; }
  .engr { display: none; } .deck-top { justify-content: flex-end; }
  .meters { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .display { grid-column: 1 / -1; }
  .keys { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .key-live { grid-column: 1 / -1; flex-direction: row; min-height: 44px; }
  .key span { font-size: 10.5px; letter-spacing: .06em; }
  .sheet { transform: none; padding: 22px 16px 24px; }
  @keyframes sheetOut { from { clip-path: inset(0 0 100% 0); transform: translateY(-30px); } to { clip-path: inset(0 0 -60px 0); transform: none; } }
  .lbl-head { gap: 10px; }
  .lbl-side { display: none; }
  .grid li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tgs { justify-content: flex-start; }
  .news li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hist li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ficha dl { grid-template-columns: minmax(0, 1fr); }
  .idx li button { grid-template-columns: 2.4em minmax(0, 1fr); }
  .idx .s { grid-column: 2; }
  #picks, .fields { grid-template-columns: minmax(0, 1fr); }
  body.recording .rec { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 88vh; overflow: auto; border-radius: 10px 10px 0 0; box-shadow: 0 -20px 40px rgba(0, 0, 0, .6); }
  body.recording::before { content: ''; position: fixed; inset: 0; z-index: 69; background: rgba(12, 9, 6, .6); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- legal pages (shell for privacy, terms, cookie, impressum) ---------- */
.legal-body { padding: 40px var(--pad) 0; }
main.legal { display: block; max-width: 880px; margin: 0 auto 48px; padding: 40px clamp(18px, 4.5vw, 60px) 48px; color: var(--ink); background: var(--cream); border-top: 7px solid var(--ink); box-shadow: 0 28px 44px -20px rgba(0, 0, 0, .8); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
main.legal h1 { font: 750 clamp(30px, 4vw, 44px)/1.05 var(--fd); letter-spacing: -.03em; margin: 18px 0 14px; }
main.legal h2 { font: 700 21px/1.25 var(--fd); margin: 30px 0 8px; padding-top: 12px; border-top: 1px dashed rgba(31, 42, 68, .35); }
main.legal h3 { font: 700 17px/1.3 var(--fd); margin: 20px 0 6px; }
main.legal a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
main.legal > p:first-child { font: 400 15px/1.5 var(--fm); }
main.legal table { font-size: 14.5px; }
main.legal .ck-page button, main.legal button { font: 650 15px/1 var(--fd); padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 3px; background: none; color: var(--ink); cursor: pointer; }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: radio-difusora-tres-passos */
.ck { position: absolute; left: auto; bottom: auto; top: 356px; right: var(--pad, 48px); width: min(292px, calc(19vw - 8px)); max-width: none; padding: 30px 22px 16px; color: #1f2a44;
  background-color: #f3eddd; background-image: linear-gradient(176deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 40%), repeating-linear-gradient(0deg, transparent 0 25px, rgba(31, 42, 68, .1) 25px 26px);
  background-position: 0 0, 0 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 22px 30px -14px rgba(0, 0, 0, .75), inset 0 -18px 24px -20px rgba(120, 100, 60, .35);
  transform: rotate(1.4deg); transform-origin: 50% 0; font-family: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif; border-radius: 1px 1px 3px 2px; }
.ck::before, .ck::after { content: ''; position: absolute; top: -9px; width: 74px; height: 24px; background: rgba(232, 222, 186, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent 30%, transparent 70%, rgba(0, 0, 0, .05)); clip-path: polygon(3% 0, 97% 6%, 100% 40%, 96% 100%, 2% 94%, 0 55%); }
.ck::before { left: -20px; transform: rotate(-34deg); }
.ck::after { right: -20px; transform: rotate(31deg); }
.ck .ck-k { font: 500 15px/1.2 'Sometype Mono', ui-monospace, monospace; letter-spacing: .02em; color: #47526b; margin-bottom: 6px; }
.ck .ck-t b { display: block; font: italic 650 21px/1.15 'Host Grotesk', sans-serif; letter-spacing: -.01em; color: #1f2a44; margin-bottom: 6px; transform: rotate(-.8deg); }
.ck .ck-p { font: italic 400 14px/1.5 'Host Grotesk', sans-serif; color: #1f2a44; }
.ck .b { margin-top: 12px; gap: 8px 20px; }
.ck button { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 6px 0; min-height: 40px; color: #1f2a44; font: italic 650 16px/1 'Host Grotesk', sans-serif; }
.ck button::before { content: ''; flex: none; width: 21px; height: 20px; border: 2px solid #1f2a44; border-radius: 3px 2px 4px 2px; transform: rotate(-3deg); transition: background .25s cubic-bezier(.16, 1, .3, 1); }
.ck button.no::before { transform: rotate(2deg); border-radius: 2px 4px 2px 3px; }
.ck button:hover::before, .ck button:focus-visible::before { background: #1f2a44; box-shadow: inset 0 0 0 3px #f3eddd; }
.ck button.ok:hover::before, .ck button.ok:focus-visible::before { background: #c8281e; }
.ck a.more { flex-basis: 100%; margin-top: 6px; padding-top: 9px; border-top: 1.5px solid rgba(31, 42, 68, .55); font: italic 500 14.5px/1.3 'Host Grotesk', sans-serif; color: #1f2a44; text-decoration: underline; text-underline-offset: 3px; }
.ck a.more:hover { color: #c8281e; }
@media (max-width: 1100px) { .ck { position: fixed; top: auto; bottom: 16px; right: 16px; width: 320px; } }
@media (max-width: 600px) { .ck { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 24px 16px 12px; transform: rotate(-.6deg); } .ck .ck-t b { font-size: 19px; } .ck::before { left: -10px; width: 60px; } .ck::after { right: -10px; width: 60px; } }
footer.seller { color: #efe6cf; background: #22170f; border-top: 1px solid rgba(239, 230, 207, .18); padding: 30px var(--pad, 48px) 40px; }
footer.seller b { color: #e2a43a; opacity: 1; }
footer.seller a { color: #efe6cf; }
footer.seller input[type=email] { color: #efe6cf; border-color: rgba(239, 230, 207, .5) !important; }
footer.seller input::placeholder { color: rgba(239, 230, 207, .6); }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
