/*
Theme Name: Signal Bench
Version: 0.3.1
Description: Editorial music gear guides for the Toolizy portfolio.
Text Domain: signal-bench
*/
:root{--paper:#f4f5f5;--ink:#1c2323;--muted:#515c5b;--forest:#242b2a;--mint:#c9ff38;--line:#dadddc;--white:#ffffff}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1.06rem/1.65 system-ui,sans-serif}
a{color:#175c48;text-underline-offset:.22em}
a:hover{text-decoration-thickness:.16em}
:focus-visible{outline:3px solid #bd5b14;outline-offset:4px}
.wrap{width:min(1150px,calc(100% - 2.5rem));margin-inline:auto}
.skip{position:absolute;top:-100px;left:1rem;background:var(--mint);padding:.5rem;z-index:2}
.skip:focus{top:.5rem}
.site-head{background:var(--white);border-bottom:1px solid var(--line)}
.site-head .wrap,.site-foot .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-block:1rem}
.logo{color:var(--ink);font-weight:900;letter-spacing:-.055em;font-size:1.45rem;text-decoration:none}
.logo::before{content:"";display:inline-block;background:var(--forest);width:1.45rem;height:1.45rem;margin-right:.55rem;vertical-align:-.22rem;border-radius:.35rem;background-image:linear-gradient(90deg,transparent 15%,#baf47c 15% 25%,transparent 25% 35%,#baf47c 35% 48%,transparent 48% 60%,#baf47c 60% 75%,transparent 75%);background-size:75% 55%;background-position:center;background-repeat:no-repeat}
.logo--brand{display:block;width:min(100%,19rem);aspect-ratio:7/1;overflow:hidden;border-radius:.35rem;background:#171717;flex:none}
.logo--brand::before{display:none}
.logo--brand img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.site-head nav,.site-foot nav{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;font-size:.9rem}
.site-head nav a,.site-foot nav a{color:inherit;font-weight:650}
.site-search{display:flex;gap:.5rem;width:100%;padding-top:.35rem}
.site-search input{flex:1;min-width:0;font:inherit;font-size:.95rem;padding:.6rem .8rem;border:1px solid #a6b0ad;border-radius:.35rem;background:#f4f5f5;color:var(--ink)}
.site-search button{font:inherit;font-weight:750;font-size:.95rem;padding:.6rem .85rem;background:var(--mint);color:var(--ink);border:1px solid #6a842a;border-radius:.35rem;cursor:pointer}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.scene-product-name,.gear-card h3,.product-intro h1{overflow-wrap:anywhere;hyphens:auto}
h1,h2,h3{line-height:1.12;letter-spacing:-.04em}
h1{font-size:clamp(2.25rem,5.2vw,4.9rem);margin:.35em 0}
h2{font-size:clamp(1.55rem,3vw,2.25rem);margin:1.6em 0 .65em}
h3{font-size:1.23rem;margin:.4rem 0}
.eyebrow{font:700 .77rem/1.4 ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase}
.hero{background:var(--forest);color:var(--white);border-radius:1rem;margin-top:1.5rem;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:1rem;padding:clamp(1.5rem,5vw,4rem);overflow:hidden}
.hero h1{max-width:12ch}
.hero p{max-width:42ch}
.hero .eyebrow{color:var(--mint)}
.hero img{display:block;width:100%;height:auto}
.hero .cover-figure{margin:0}
.hero .cover{border-radius:.8rem;aspect-ratio:4/3;object-fit:cover}
.hero figcaption{color:#e0ecdf}
.button{display:inline-block;color:var(--ink);background:var(--mint);padding:.65rem 1rem;border-radius:.45rem;text-decoration:none;font-weight:750;margin-top:.4rem}
main{padding-bottom:3rem}
.lead{max-width:62ch;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:1rem}
.card{background:var(--white);border:1px solid var(--line);border-radius:.7rem;padding:1.15rem;overflow-wrap:anywhere}
.card p{margin:.6rem 0;color:var(--muted);font-size:.95rem}
.card h3 a{color:var(--ink)}
.card .eyebrow{color:#275f50}
.cover{display:block;width:100%;height:auto;object-fit:cover}
.card .cover{aspect-ratio:3/2;border-radius:.42rem;margin-bottom:.85rem}
.cover-figure{overflow:hidden}
.cover-figure .cover{border-radius:.65rem;max-height:25rem}
.article .cover-figure .cover{max-height:18rem}
.top-art{margin:1.75rem 0 2rem;padding:clamp(.9rem,3vw,1.4rem);border:1px solid #c4d4c2;border-radius:.9rem;background:#e6eedf}
.top-art h2{margin:.1rem 0 .5rem}
.top-art .notice{margin:.4rem 0 1rem}
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:.85rem;list-style:none;padding:0;margin:0}
.product-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:.6rem;padding:.85rem;min-width:0}
.product-card h3{margin:.55rem 0 .4rem}
.product-card p{margin:.45rem 0;font-size:.94rem}
.product-card .pick-use{display:flex;align-items:center;gap:.5rem;margin:0;color:var(--forest);font-weight:720;line-height:1.25}
.pick-rank{flex:none;display:grid;place-items:center;width:2rem;height:2rem;background:var(--forest);color:var(--mint);border-radius:50%;font:700 .76rem ui-monospace,monospace}
.product-limit{color:var(--muted)}
.product-limit strong{display:block;color:var(--ink)}
.product-links{display:flex;align-items:flex-start;gap:.3rem;flex-direction:column;margin-top:auto;padding-top:.55rem;font-size:.86rem}
.product-cta{display:inline-block;padding:.36rem .65rem;border-radius:.35rem;background:var(--mint);color:var(--ink);font-weight:750}
.product-photo{--photo-height:clamp(8rem,18vw,12rem);order:-1;margin:0 0 .65rem}
.product-photo > a{display:block;border-radius:.35rem}
.product-photo img,.product-photo-placeholder{width:100%;height:var(--photo-height);padding:.65rem;background:#fff;border:1px solid var(--line);border-radius:.35rem}
.product-photo img{display:block;object-fit:contain;object-position:center}
.product-photo-placeholder{display:grid;place-items:center;background:#f3f0e7;color:var(--muted);font-size:.85rem;text-align:center}
.product-photo figcaption{font-size:.7rem}
.shop-button{display:inline-block;width:fit-content;margin-top:.65rem;padding:.65rem .85rem;background:#c9ff38;color:#1b2211!important;text-decoration:none;font-weight:800;border:1px solid #6a842a;border-radius:.35rem}
.shop-button:hover,.shop-button:focus-visible{background:#e2ffa1;text-decoration:underline}
.product-links a:first-child{display:inline-block;padding:.5rem .7rem;background:#c9ff38;color:#1b2211;text-decoration:none;font-weight:750;border:1px solid #6a842a;border-radius:.35rem}
.product-links a:first-child:hover,.product-links a:first-child:focus-visible{text-decoration:underline}
.shop-alternative{display:block;margin-top:.45rem}
.guide-steps{list-style:none;padding:0;counter-reset:guide-step}
.guide-steps li{counter-increment:guide-step;position:relative;padding:.8rem .9rem .8rem 3.1rem;margin:.55rem 0;background:#f4f2e8;border-radius:.4rem}
.guide-steps li::before{content:counter(guide-step);position:absolute;left:.8rem;top:.75rem;background:#222625;color:#fff;border-radius:50%;width:1.6rem;height:1.6rem;display:grid;place-items:center;font-weight:750}
.guide-steps strong{display:block}
.guide-diagram{margin:1.2rem 0;padding:1rem;background:#242827;color:#fff;border-radius:.45rem}
.guide-diagram figcaption{margin-bottom:.75rem;font-weight:750;color:#e0ecdf;font-size:1rem}
.guide-diagram img{width:100%;height:auto;display:block;margin:0 0 .65rem}
.guide-flow,.tuning-strings{display:grid;grid-template-columns:repeat(auto-fit,minmax(5rem,1fr));gap:.5rem;list-style:none;padding:0;margin:0}
.guide-flow li,.tuning-strings li{padding:.6rem .35rem;background:#3d4440;text-align:center;border-radius:.3rem;line-height:1.3}
.tuning-strings strong,.guide-flow strong{display:block;color:#c9ff38}
.tuning-strings li{border-top:var(--string,1px) solid #c9ff38}
.guide-challenge{border-left:4px solid #759531;padding:.75rem 1rem;background:#f1f6e6}
.guide-gear-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem}
.gear-card{display:flex;flex-direction:column;min-width:0;padding:1rem;background:#fffefa;border:1px solid #c5c8bd;border-radius:.4rem}
.gear-card h3{margin:0}
.gear-comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.85rem;list-style:none;padding:0}
.product-assessment{margin:.6rem 0;font-size:.9rem;line-height:1.45}
.product-assessment dt{font-weight:750;margin-top:.45rem}
.product-assessment dd{margin:0}
.band{margin-top:2rem;border-top:1px solid var(--line);padding-top:1rem}
.article{max-width:760px;margin:2rem auto;overflow-wrap:anywhere}
.article h1{font-size:clamp(2.1rem,5.2vw,3.9rem)}
.article h2{font-size:1.65rem}
.article p,.article li{max-width:68ch}
.answer,.toc{background:#e6eedf;border-radius:.55rem;padding:1rem 1.25rem}
.answer{font-size:1.16rem;border-left:4px solid var(--forest)}
.notice{font-size:.9rem;color:var(--muted)}
.toc ul{margin:.25rem 0;padding-left:1.25rem}
.table-scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;background:var(--white)}
th,td{text-align:left;padding:.6rem .7rem;border-bottom:1px solid var(--line);vertical-align:top}
thead{background:var(--forest);color:var(--white)}
figure{margin:1.5rem 0}
figcaption{font-size:.85rem;color:var(--muted);margin-top:.45rem}
.diagram{display:flex;flex-wrap:wrap;gap:.5rem;padding:.85rem;background:var(--forest);border-radius:.6rem}
.diagram span{color:var(--ink);background:var(--mint);border-radius:.3rem;padding:.35rem .6rem;font-weight:700}
.site-foot{border-top:1px solid var(--line);color:var(--muted);background:var(--white)}
@media(max-width:670px){.hero{grid-template-columns:1fr}.hero img{max-width:340px}.site-head .wrap{align-items:flex-start}.article{margin-top:1rem}}
