/* AMBER's page: Sacred's page (css/product.css) branded AMBER: graphite, gold, light, the Dynamic Resonance mark;
   the window AMBER's (its stage, the app's visualizer, playing in it), the strip of six its pianos, the story its
   knobs, the model a drawing of a key, a hammer, a string and a board, the six pianos side by side, and its signature
   at the end: the mark's string running on past its frame. */
:root { --bg: #0d0f12; --g: #121418; --text: #eef0f3; --a: #e8bd5c; }
.brand svg { width: 26px; height: 26px; }
.tags li.agent { border-color: rgba(232,189,92,.7); background: rgba(232,189,92,.1); }
.make .label, .layer .label, .story .label { color: var(--gold); }

/* ---------- the hero: its threads behind (as the live page's), the window AMBER's: its picture (1284 x 844) with its
   stage over the strings (y 64 to 512), its preset's name over the chip (x 546 to 739, y 19 to 53), its keys lit */
.hero { background: radial-gradient(60% 60% at 50% 55%, rgba(232,189,92,.1), transparent 70%), linear-gradient(var(--g), var(--bg)); }
.stack .tilt { container-type: inline-size; cursor: auto; }
.stack .stage { position: absolute; left: 0; top: 7.58%; width: 100%; height: 53.08%; z-index: 1; pointer-events: none; }
.stack .keys { left: 9.89%; top: 81.28%; width: 85.28%; height: 18.01%; }
.stack .preset { position: absolute; z-index: 1; left: 42.52%; top: 2.25%; width: 15.03%; height: 4.03%; display: flex; align-items: center; justify-content: center; gap: .9cqw;
  border-radius: .5cqw; background: #1b1e24; color: #d9dde3; font: 400 .86cqw/1 var(--name); letter-spacing: .28em; text-transform: uppercase; pointer-events: none; }
.stack .preset svg { width: .8cqw; height: .5cqw; color: #9ba1ab; }
.stack .preset b { font-weight: 400; transition: opacity .3s; }
.stack .preset.swap b { opacity: 0; }
.strip svg { width: auto; height: 24px; max-width: 84px; overflow: visible; }
.strip.up svg { height: 18px; max-width: 62px; }
@media (max-width: 560px) { .strip svg { height: 16px; max-width: 52px; } .strip { gap: clamp(8px, 3vw, 20px); } }

/* ---------- the model: a drawing of the note, beside its words */
.note { position: relative; margin: 0; width: 100%; aspect-ratio: 5 / 4; justify-self: center; max-width: 560px; }
.note canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- the story's pedals: the window's two keys */
.show.pedals { gap: 18px; }
.key b { letter-spacing: .1em; }

/* ---------- the pianos side by side, at one scale, their longest string under each */
.lineup { margin: clamp(40px, 7svh, 72px) 0 0; }
.lineup svg { display: block; width: 100%; height: auto; overflow: visible; }
.lineup .case { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linejoin: round; }
.lineup .inner { fill: none; stroke: rgba(232,189,92,.35); stroke-width: .8; }
.lineup .plate { fill: rgba(232,189,92,.05); stroke: rgba(232,189,92,.28); stroke-width: .7; }
.lineup .wire { stroke: rgba(232,189,92,.5); stroke-width: .5; transition: stroke .25s; }
.lineup .wire.on { stroke: #fff1c2; }
.lineup .keys rect { fill: #d8dce1; } .lineup .keys .k { fill: #23262d; }
.lineup .felt { fill: rgba(232,189,92,.22); }
.lineup .n { font: 300 15px var(--name); letter-spacing: .26em; fill: var(--text); text-transform: uppercase; }
.lineup .t { font: 500 11px var(--mono); letter-spacing: .14em; fill: var(--text-3); text-transform: uppercase; }
.lineup .ruler { stroke: var(--text-3); stroke-width: .8; }
@media (prefers-reduced-motion: no-preference) {
  .lineup .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .layer.in .lineup .draw { animation: draw 2.4s cubic-bezier(.6,.1,.2,1) .4s forwards; }
  .lineup .wires { opacity: 0; transition: opacity 1.4s ease-out 1.6s; }
  .layer.in .lineup .wires { opacity: 1; }
}

/* ---------- the end: the mark, its string's threads running on past its frame (they fade in once it has drawn itself) */
.get .signature { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.get .frame { position: relative; }
.altar .stone { width: clamp(92px, 9.5vw, 120px); }
.altar .stone .gold { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .get .signature { opacity: 0; transition: opacity 2.4s ease-out 1.8s; }
  .get.in .signature { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) { .hero .threads { opacity: 0; transition: opacity 2.4s ease-out .4s; } .hero.in .threads { opacity: 1; } }
.strip button { --c: var(--gold); }
/* (the knob's rings reach past the frame: kept inside the page, or a phone widens to them; the six side by side scroll on a phone) */
.story, .make { overflow-x: clip; }
.brand > span:first-child { display: flex; }
@media (max-width: 700px) { .lineup { overflow-x: auto; margin-inline: calc(clamp(16px, 5vw, 90px) * -1); padding: 0 20px; scrollbar-width: none; } .lineup svg { min-width: 860px; } }
