/* The homepage: serenade's showcase. Layered on site.css; only index.html
   links it. Void Rose II: one rose action per view, one sourced light (the
   playhead), acrylic only on what floats, lowercase mono gutter labels.
   The desk's per-note timings are generated (tools/home/gen.py) and follow
   the hand-written rules below. */

.home .hero{border-bottom:0;overflow:visible}
.home .hero-body{padding-top:clamp(56px,8vw,96px);padding-bottom:0}
.hero-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font:500 15px/1 var(--font-mono);letter-spacing:-0.01em}
.hero-name img{width:24px;height:24px}
.hero-name .eyebrow{padding-left:12px;border-left:1px solid var(--border-subtle);line-height:16px}
.home .hero h1{font-size:clamp(38px,7.2vw,80px);line-height:1;max-width:19ch;margin-top:28px}
.home .hero h1 em{font-style:normal;color:var(--text-muted)}
.hero-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:end;margin-top:32px}
.home .lede{max-width:52ch;margin-top:0}
.hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:16px}
.home .hero-actions{margin-top:0}
.hero-side .meta{margin-top:0}

/* The desk: a serenade window drawn whole, working. */
.desk-wrap{max-width:1216px;margin:0 auto;padding:clamp(40px,6vw,64px) var(--gutter) 0}
.desk{position:relative;margin:0;animation:rise 900ms var(--ease-out) both}
.desk-frame{position:relative;border-radius:12px;box-shadow:0 1px 0 rgba(0,0,0,.4),0 24px 64px -16px rgba(0,0,0,.7),0 64px 120px -40px rgba(0,0,0,.6)}
.desk-svg{display:block;width:100%;height:auto}
.desk figcaption{margin-top:16px;font:400 12px/1.5 var(--font-mono);color:var(--text-muted);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.d-ground{fill:#0C0A0F}
.d-side,.d-lower{fill:#0C0A0F}
.d-ruler{fill:#0E0C11}
.d-rule{stroke:rgba(243,239,242,.07);stroke-width:1}
.d-edge{fill:none;stroke:rgba(243,239,242,.11);stroke-width:1}
.d-cap-bg{fill:rgba(17,15,20,.92)}
.d-gutter{font:400 11px var(--font-mono);fill:#9C95A2}
.d-name{font:400 12px var(--font-sans);fill:#CFC8D0}
.d-name.on{fill:#F3EFF2;font-weight:500}
.d-kind{font:400 10.5px var(--font-mono);fill:#6A6472}
.d-sel{fill:#1B1820}
.d-bar,.a-bar{fill:#E5194D}
.d-led{fill:#231F29}
.d-tick{stroke:rgba(243,239,242,.18)}
.d-tick.bar{stroke:rgba(243,239,242,.36)}
.d-bar-n{font:400 10.5px var(--font-mono);fill:#9C95A2}
.d-loop{fill:rgba(243,239,242,.14)}
.d-row{fill:#0C0A0F}
.d-row.b{fill:#0A090D}
.d-key{fill:#1B1820;stroke:#0C0A0F;stroke-width:1}
.d-key.b{fill:#0C0A0F}
.d-keyn{font:400 9.5px var(--font-mono);fill:#6A6472}
.d-oct{stroke:rgba(243,239,242,.05)}
.d-vl{stroke:rgba(243,239,242,.025)}
.d-vl.beat{stroke:rgba(243,239,242,.05)}
.d-vl.bar{stroke:rgba(243,239,242,.11)}
.d-ghost{fill:rgba(243,239,242,.08);stroke:rgba(243,239,242,.1);stroke-width:1}
.d-note{fill:#CFC8D0;animation-duration:8s;animation-timing-function:linear;animation-iteration-count:infinite}
.d-head{fill:#E5194D}
.d-play{filter:drop-shadow(0 0 4px rgba(229,25,77,.55))}
.d-sname{font:400 10.5px var(--font-mono);fill:#9C95A2}
.d-sname.on{fill:#F3EFF2}
.d-track{fill:rgba(243,239,242,.09)}
.d-cap{fill:#CFC8D0}
.d-well{fill:#08070A}
.d-mtr{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(.4);animation-timing-function:cubic-bezier(.2,.7,.3,1);animation-iteration-count:infinite}
.m-kick{animation-name:m-kick;animation-duration:.5s}
.m-beat{animation-name:m-kick;animation-duration:.5s;opacity:.9}
.m-snare{animation-name:m-snare;animation-duration:1s}
.m-hat{animation-name:m-hat;animation-duration:.25s}
.m-slow{animation-name:m-slow;animation-duration:3s;animation-timing-function:ease-in-out}
@keyframes m-kick{0%{transform:scaleY(.86)}100%{transform:scaleY(.22)}}
@keyframes m-snare{0%,49%{transform:scaleY(.18)}50%{transform:scaleY(.78)}100%{transform:scaleY(.24)}}
@keyframes m-hat{0%{transform:scaleY(.46)}100%{transform:scaleY(.3)}}
@keyframes m-slow{0%{transform:scaleY(.52)}22%{transform:scaleY(.7)}48%{transform:scaleY(.58)}71%{transform:scaleY(.74)}100%{transform:scaleY(.52)}}
.d-gain{font:400 10.5px var(--font-mono);fill:#CFC8D0}

.d-pad{fill:#16131A;stroke:rgba(243,239,242,.07);stroke-width:1;animation-iteration-count:infinite;animation-timing-function:linear}
.d-padn{font:400 9px var(--font-mono);fill:#6A6472}
.d-padl{font:400 9px var(--font-mono);fill:#9C95A2}
.p-kick{animation-name:lit;animation-duration:.5s}
.p-snare{animation-name:lit-half;animation-duration:1s}
.p-hat{animation-name:lit-fast;animation-duration:.25s}
.p-open{animation-name:lit-late;animation-duration:2s}
.p-clap{animation-name:lit-34;animation-duration:2s}
.p-chop{animation-name:lit;animation-duration:4s;animation-delay:.25s}
@keyframes lit{0%{fill:#2E2A34}40%,100%{fill:#16131A}}
@keyframes lit-fast{0%{fill:#231F29}70%,100%{fill:#16131A}}
@keyframes lit-half{0%,49.9%{fill:#16131A}50%{fill:#2E2A34}75%,100%{fill:#16131A}}
@keyframes lit-late{0%,87.4%{fill:#16131A}87.5%{fill:#2E2A34}97%,100%{fill:#16131A}}
@keyframes lit-34{0%,74.9%{fill:#16131A}75%{fill:#2E2A34}84%,100%{fill:#16131A}}
.d-step{fill:#6A6472;animation:cur-off 2s linear infinite}
.d-step.on{fill:#CFC8D0;animation-name:cur-on}
@keyframes cur-on{0%,6.2%{fill:#FF6188}6.3%,100%{fill:#CFC8D0}}
@keyframes cur-off{0%,6.2%{fill:#FF6188}6.3%,100%{fill:#6A6472}}

.d-crumb{font:400 12px var(--font-sans);fill:#9C95A2}
.d-crumb .d-sep{fill:#6A6472}
.d-crumb .d-here{fill:#F3EFF2;font-weight:500}
.d-read{font:400 11.5px var(--font-mono);fill:#CFC8D0;white-space:pre}
.d-read.on{fill:#F3EFF2}
.d-led-play{fill:#E5194D}
.d-glyph{fill:none;stroke:#9C95A2;stroke-width:1.25;stroke-linecap:round}

/* LEDs on the instrument list follow their strips. */
.led0,.led1,.led6,.led7{animation:led-slow 3s ease-in-out infinite}
.led2,.led3{animation:led .5s linear infinite}
.led4{animation:led-half 1s linear infinite}
.led5{animation:led .25s linear infinite}
@keyframes led{0%{fill:#CFC8D0}60%,100%{fill:#231F29}}
@keyframes led-half{0%,49.9%{fill:#231F29}50%{fill:#CFC8D0}85%,100%{fill:#231F29}}
@keyframes led-slow{0%,100%{fill:#6A6472}50%{fill:#9C95A2}}

/* A proposal floats over the work, in acrylic. */
.proposal{position:absolute;right:clamp(16px,3%,40px);top:30%;width:min(300px,34%);padding:16px;border-radius:8px;background:rgba(16,13,19,.64);-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);border:1px solid rgba(243,239,242,.11);box-shadow:0 16px 40px -12px rgba(0,0,0,.7);animation:rise 900ms 500ms var(--ease-out) both}
.proposal::before{content:"";position:absolute;left:-1px;top:16px;width:2px;height:20px;background:var(--bar)}
.proposal .eyebrow{display:flex;justify-content:space-between;gap:12px}
.proposal h3{font:500 15px/1.3 var(--font-sans);margin-top:10px}
.proposal p{font-size:13px;line-height:1.5;color:var(--text-muted);margin-top:6px}
.proposal .diff{display:flex;gap:16px;margin-top:12px;font:400 12px/1.4 var(--font-mono);color:var(--text-secondary)}
.proposal .diff b{font-weight:400;color:var(--text-primary)}
.proposal .acts{display:flex;gap:8px;margin-top:14px}
.proposal .acts span{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:4px;font:500 12px/1 var(--font-sans);color:var(--text-secondary);border:1px solid var(--border-subtle)}
.proposal .acts span:first-child{background:var(--bone-0);color:var(--void-0);border-color:var(--bone-0)}

/* The flow: real order, named on a ticked hairline. */
.flow{margin:48px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 32px;counter-reset:none}
.flow li{position:relative;padding-top:32px}
.flow li::before{content:"";position:absolute;left:0;right:-32px;top:0;height:1px;background:var(--border-subtle)}
.flow li:last-child::before{right:0}
.flow li::after{content:"";position:absolute;left:0;top:-6px;width:1px;height:13px;background:var(--bone-2)}
.flow li:first-child::after{background:var(--bar);width:2px}
.flow h3{font:500 15px/1.2 var(--font-mono);letter-spacing:-0.01em}
.flow p{font-size:13px;line-height:1.55;color:var(--text-muted);margin-top:8px;max-width:30ch}

/* Section head: gutter label in a left column on the heading's baseline. */
.head{display:grid;grid-template-columns:160px minmax(0,1fr);gap:0 32px;align-items:baseline}
.head .eyebrow{padding-top:0}
.head .title{margin-top:0}
.head .body{grid-column:2}

/* Instruments: ruled rows. */
.rows{margin-top:48px;border-top:1px solid var(--border-hairline)}
.row{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1.15fr);gap:24px 32px;padding:32px 0;border-bottom:1px solid var(--border-hairline);align-items:center}
.row .eyebrow{align-self:start;padding-top:4px}
.row h3{font:600 24px/1.15 var(--font-sans);letter-spacing:-0.03em}
.row p{color:var(--text-secondary);margin-top:12px;max-width:46ch}
.row ul{margin-top:16px;display:flex;flex-wrap:wrap;gap:6px 20px;font:400 12px/1.6 var(--font-mono);color:var(--text-muted)}
.row ul li::before{content:"";display:inline-block;width:1px;height:9px;background:var(--bone-3);margin-right:8px;vertical-align:-1px}
.art{background:var(--void-1);border:1px solid var(--border-hairline);border-radius:8px;padding:24px}
.art-svg{display:block;width:100%;height:auto}
.a-well{fill:#08070A;stroke:rgba(243,239,242,.07)}
.a-wave{fill:#CFC8D0;opacity:.85}
.a-mid{stroke:rgba(243,239,242,.08)}
.a-dim{fill:rgba(8,7,10,.72)}
.a-slice{stroke:rgba(243,239,242,.32);stroke-width:1}
.a-slice.edge{stroke:#F3EFF2}
.a-lab{font:400 11px var(--font-mono);fill:#9C95A2}
.a-osc{fill:none;stroke:#CFC8D0;stroke-width:1.75;stroke-linejoin:round}
.a-osc.off{stroke:#6A6472;stroke-dasharray:3 4}
.d-pad.big{stroke:rgba(243,239,242,.09)}

/* Effects: a strip's chain, then each device in a line. */
.chain{display:flex;flex-wrap:wrap;gap:6px;margin-top:48px;align-items:center}
.chain span{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:6px;background:var(--void-2);border:1px solid var(--border-hairline);font:400 12px/1 var(--font-mono);color:var(--text-secondary)}
.chain i{width:16px;height:1px;background:var(--border-subtle)}
.chain span.last{color:var(--text-primary);border-color:var(--border-subtle)}
.devices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px;margin-top:32px;border-top:1px solid var(--border-hairline)}
.devices li{display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--border-hairline);align-items:baseline}
.devices b{font:400 13px/1.4 var(--font-mono);color:var(--text-primary)}
.devices span{font-size:13px;line-height:1.5;color:var(--text-muted)}

/* Principles: readings. A square LED, a lowercase mono word, a statement. */
.readings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px;margin-top:48px}
.readings li{padding:24px 0;border-top:1px solid var(--border-hairline)}
.readings .word{display:flex;align-items:center;gap:8px;font:400 12px/1.2 var(--font-mono);color:var(--text-secondary)}
.readings .word::before{content:"";width:6px;height:6px;border-radius:1px;background:var(--bone-2)}
.readings h3{font:500 18px/1.3 var(--font-sans);letter-spacing:-0.015em;margin-top:14px;max-width:24ch}
.readings p{font-size:13px;line-height:1.55;color:var(--text-muted);margin-top:8px;max-width:38ch}

/* Foundations: ruled rows in place of cards. */
.tools{margin-top:48px;border-top:1px solid var(--border-hairline)}
.tools li{display:grid;grid-template-columns:32px 160px minmax(0,1fr);gap:16px 32px;padding:20px 0;border-bottom:1px solid var(--border-hairline);align-items:center}
.tools img{width:32px;height:32px}
.tools h3{font:500 15px/1.25 var(--font-mono)}
.tools .role{font:400 12px/1.2 var(--font-mono);color:var(--text-muted)}
.tools p{font-size:13px;line-height:1.55;color:var(--text-muted)}

.home .band-body{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:end}
.home .band-body .button{margin-top:0}

@media (prefers-reduced-motion:reduce){
  .desk,.proposal{animation:none}
  .desk-svg *,.art-svg *{animation:none!important}
  .d-play{transform:translateX(377px)}
}

@media (max-width:1080px){
  .devices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .readings{grid-template-columns:repeat(2,minmax(0,1fr))}
  .row{grid-template-columns:120px minmax(0,1fr)}
  .row .art{grid-column:2}
  .head{grid-template-columns:120px minmax(0,1fr)}
}
@media (max-width:900px){
  .hero-foot{grid-template-columns:1fr}
  .hero-side{align-items:flex-start}
  .flow{grid-template-columns:1fr;gap:0;margin-left:8px}
  .flow li{padding:0 0 28px 28px}
  .flow li::before{left:0;right:auto;top:0;bottom:0;width:1px;height:auto}
  .flow li:last-child::before{bottom:auto;height:8px}
  .flow li::after{left:-6px;top:7px;width:13px;height:1px}
  .flow li:first-child::after{height:2px;width:13px}
  .proposal{position:relative;right:auto;top:auto;width:auto;margin-top:16px}
}
@media (max-width:760px){
  .home .site-nav a[href="#instruments"]{display:none}
  .hero-name .eyebrow{flex-basis:100%;padding-left:0;border-left:0}
  .desk-crop{overflow:hidden;border-radius:12px}
  .desk-crop .desk-svg{width:200%;max-width:none;margin-left:-30%}
  .head,.row{grid-template-columns:1fr}
  .head .body,.row .art{grid-column:auto}
  .row{gap:16px}
  .devices,.readings{grid-template-columns:1fr}
  .devices li{grid-template-columns:120px minmax(0,1fr)}
  .tools li{grid-template-columns:32px minmax(0,1fr);gap:8px 16px}
  .tools li > p{grid-column:1 / -1}
  .home .band-body{grid-template-columns:1fr}
}

/* Generated by tools/home/gen.py: the lead's notes light as the playhead passes them. */
.n0{animation-delay:0.000s}
@keyframes h0{0%,4.69%{fill:#FF6188}6.19%,100%{fill:#CFC8D0}}
.n0{animation-name:h0}
.n1{animation-delay:0.375s}
@keyframes h1{0%,1.56%{fill:#FF6188}3.06%,100%{fill:#CFC8D0}}
.n1{animation-name:h1}
.n2{animation-delay:0.500s}
@keyframes h2{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n2{animation-name:h2}
.n3{animation-delay:1.000s}
@keyframes h3{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n3{animation-name:h3}
.n4{animation-delay:1.250s}
@keyframes h4{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n4{animation-name:h4}
.n5{animation-delay:1.500s}
@keyframes h5{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n5{animation-name:h5}
.n6{animation-delay:2.000s}
@keyframes h6{0%,4.69%{fill:#FF6188}6.19%,100%{fill:#CFC8D0}}
.n6{animation-name:h6}
.n7{animation-delay:2.375s}
@keyframes h7{0%,1.56%{fill:#FF6188}3.06%,100%{fill:#CFC8D0}}
.n7{animation-name:h7}
.n8{animation-delay:2.500s}
@keyframes h8{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n8{animation-name:h8}
.n9{animation-delay:3.000s}
@keyframes h9{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n9{animation-name:h9}
.n10{animation-delay:3.250s}
@keyframes h10{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n10{animation-name:h10}
.n11{animation-delay:3.500s}
@keyframes h11{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n11{animation-name:h11}
.n12{animation-delay:4.000s}
@keyframes h12{0%,4.69%{fill:#FF6188}6.19%,100%{fill:#CFC8D0}}
.n12{animation-name:h12}
.n13{animation-delay:4.375s}
@keyframes h13{0%,1.56%{fill:#FF6188}3.06%,100%{fill:#CFC8D0}}
.n13{animation-name:h13}
.n14{animation-delay:4.500s}
@keyframes h14{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n14{animation-name:h14}
.n15{animation-delay:5.000s}
@keyframes h15{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n15{animation-name:h15}
.n16{animation-delay:5.250s}
@keyframes h16{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n16{animation-name:h16}
.n17{animation-delay:5.500s}
@keyframes h17{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n17{animation-name:h17}
.n18{animation-delay:6.000s}
@keyframes h18{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n18{animation-name:h18}
.n19{animation-delay:6.250s}
@keyframes h19{0%,3.12%{fill:#FF6188}4.62%,100%{fill:#CFC8D0}}
.n19{animation-name:h19}
.n20{animation-delay:6.500s}
@keyframes h20{0%,6.25%{fill:#FF6188}7.75%,100%{fill:#CFC8D0}}
.n20{animation-name:h20}
.n21{animation-delay:7.000s}
@keyframes h21{0%,12.50%{fill:#FF6188}14.00%,100%{fill:#CFC8D0}}
.n21{animation-name:h21}
.d-play{animation:play 8.0s linear infinite}
@keyframes play{from{transform:translateX(0)}to{transform:translateX(916px)}}
.s0.c1{animation-delay:-0.040s}
.s0{animation-duration:2.60s}
.s1.c1{animation-delay:-0.053s}
.s1{animation-duration:2.97s}
.s2.c1{animation-delay:-0.066s}
.s3.c1{animation-delay:-0.079s}
.s4.c1{animation-delay:-0.092s}
.s5.c1{animation-delay:-0.105s}
.s6.c1{animation-delay:-0.118s}
.s6{animation-duration:4.82s}
.s7.c1{animation-delay:-0.131s}
.t0{animation-delay:0.000s}
.t1{animation-delay:0.125s}
.t2{animation-delay:0.250s}
.t3{animation-delay:0.375s}
.t4{animation-delay:0.500s}
.t5{animation-delay:0.625s}
.t6{animation-delay:0.750s}
.t7{animation-delay:0.875s}
.t8{animation-delay:1.000s}
.t9{animation-delay:1.125s}
.t10{animation-delay:1.250s}
.t11{animation-delay:1.375s}
.t12{animation-delay:1.500s}
.t13{animation-delay:1.625s}
.t14{animation-delay:1.750s}
.t15{animation-delay:1.875s}
