/* The rehearsal-room refresh keeps the graphite, paper and orange identity. */
.rehearsal-hero{max-width:none;display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:clamp(1.5rem,4vw,3.7rem);padding:3.6rem 0 2.6rem}
.rehearsal-hero h1{font-size:clamp(2.7rem,5vw,4.7rem);line-height:1.02;max-width:12ch;margin:1rem 0 1.15rem}
.rehearsal-hero-copy>p:not(.eyebrow){color:var(--muted);max-width:42ch;font-size:1.05rem}
.rehearsal-hero-image{position:relative;min-width:0;border:1px solid #806554;box-shadow:9px 9px 0 #100f0f;transform:rotate(1deg)}
.rehearsal-hero-image img{width:100%;aspect-ratio:3/2;object-fit:cover}
.tool-routes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 3rem;border-block:1px solid #806554}
.tool-routes a{display:flex;flex-direction:column;gap:.6rem;text-decoration:none;padding:1.2rem 1rem;min-width:0}
.tool-routes a:first-child{padding-left:0}.tool-routes a+a{border-left:1px solid var(--line)}
.route-number{font:.67rem/1.4 var(--mono);color:var(--orange);letter-spacing:.065em}
.tool-routes strong{font:400 1.45rem/1.15 var(--serif)}
.tool-routes a>span:last-child{font-size:.8rem;color:var(--muted)}
.tool-routes a:hover{background:#29231e}.tool-routes a:hover>span:last-child{color:var(--orange)}
.practice-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1.5rem,4vw,3.5rem);padding:2rem 0 3rem;margin-bottom:2rem;border-bottom:1px solid #806554}
.practice-feature>img{width:100%;aspect-ratio:3/2;object-fit:cover;border:1px solid #806554}
.practice-feature h2{font-size:clamp(2rem,4vw,3.2rem);margin:.8rem 0 1rem;max-width:15ch}
.practice-feature p:not(.eyebrow){color:var(--muted)}.practice-feature .text-link{display:inline-block;margin-top:1.1rem}
.instrument-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.instrument-room{grid-column:span 2}.instrument-room:nth-last-child(-n+2){grid-column:span 3}
.instrument-room .room-image img{aspect-ratio:3/2;object-fit:cover}
.library-controls{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) auto;gap:1rem;align-items:end;border:1px solid #806554;padding:1.25rem;background:#24201d;margin:2rem 0}
.library-controls label{min-width:0;display:grid;gap:.45rem;font-size:.88rem;font-weight:650}.library-controls :is(input,select){width:100%;min-width:0}
.library-controls p{grid-column:1/-1;font:.75rem/1.5 var(--mono);color:var(--muted)}
.library-empty{padding:1.5rem;border-left:3px solid var(--orange);background:var(--panel);max-width:none}
.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 1.5rem}
.library-grid h2{font-size:1.6rem;letter-spacing:-.025em}.library-grid img{aspect-ratio:3/2;object-fit:cover}
.library-grid article>p:not(.eyebrow){font-size:.92rem;color:var(--muted)}
@media(max-width:1000px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-routes strong{font-size:1.2rem}}
@media(max-width:780px){
 .rehearsal-hero{grid-template-columns:1fr;padding:2rem 0 2.3rem;gap:1.7rem}.rehearsal-hero h1{max-width:15ch;font-size:clamp(2.7rem,9.5vw,4rem)}
 .rehearsal-hero-image{transform:none;box-shadow:5px 5px 0 #100f0f}.rehearsal-hero-image img{max-height:320px}
 .tool-routes{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:2rem}.tool-routes a{padding:1rem!important}.tool-routes a:nth-child(3){border-left:0}.tool-routes a:nth-child(n+3){border-top:1px solid var(--line)}
 .tool-routes strong{font-size:1.3rem}.practice-feature{grid-template-columns:1fr;gap:1.5rem}.practice-feature h2{max-width:none}
 .instrument-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.instrument-room,.instrument-room:nth-last-child(-n+2){grid-column:auto}.instrument-room:last-child{grid-column:1/-1}
 .library-controls{grid-template-columns:minmax(0,1fr) auto}.library-controls label:first-child{grid-column:1/-1}
}
@media(max-width:520px){.library-grid{grid-template-columns:1fr}.instrument-grid{grid-template-columns:1fr}.instrument-room:last-child{grid-column:auto}.library-controls{grid-template-columns:1fr}.library-controls button{justify-self:start}.library-grid h2{font-size:1.8rem}.tool-routes strong{font-size:1.18rem}.route-number{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{:root,html,body{background:#fff!important;color:#111!important;color-scheme:light!important}.tool-routes,.practice-feature,.library-controls{display:none!important}}
