@font-face{font-family:"Space Grotesk";src:url("/assets/fonts/space-grotesk.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("/assets/fonts/plex-mono.woff2") format("woff2");font-weight:400;font-display:swap}
:root{--paper:#f5f6f0;--sheet:#fafbf6;--ink:#18201c;--copy:#38463e;--muted:#536259;--line:#cbd2c6;--green:#3c6c42;--lime:#bcf28b;--dark:#16221c;--mono:"IBM Plex Mono",ui-monospace,monospace;--sans:"Space Grotesk",Arial,sans-serif;color-scheme:light;font:100%/1.5 var(--sans);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{margin:0}
button,input,select{font:inherit}
button,select{cursor:pointer}
button,a,input,select,summary{touch-action:manipulation}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.table-scroll:focus-visible{outline:3px solid #659c40;outline-offset:4px}
::selection{background:#c1e99d;color:#17251a}
img,svg{vertical-align:middle}
button{color:inherit}
p,h1,h2,h3{margin:0}
[hidden]{display:none!important}
.skip{position:fixed;left:1rem;top:-8rem;z-index:20;background:var(--ink);color:white;padding:.7rem 1rem}
.skip:focus{top:1rem}
.wrap{width:min(1272px,calc(100% - clamp(40px,10vw,168px)));margin-inline:auto}
.mast{border-bottom:1px solid var(--line);background:var(--paper)}
.mast-in{height:76px;display:flex;gap:40px;align-items:center}
.brand,.foot-brand{display:inline-flex;align-items:center;font-weight:650;gap:11px;font-size:1.37rem;letter-spacing:-.067em;white-space:nowrap}
.brand-signal{width:33px;height:33px;display:grid;place-items:center;border-radius:5px;background:#1e3427;color:var(--lime)}
.brand-slash{font-weight:400;color:#899a89;margin:0 4px}
.mast nav{display:flex;align-items:center;gap:30px;margin-left:auto}
.mast nav a,.external-home{font-size:.93rem;font-weight:500}
.mast nav a{position:relative;color:var(--muted);padding:7px 0}
.mast nav a:hover,.mast nav a[aria-current]{color:var(--ink)}
.mast nav a[aria-current]::after{content:"";height:2px;position:absolute;bottom:0;left:0;right:0;background:var(--green)}
.external-home{display:inline-flex;align-items:center;gap:7px;color:var(--muted);padding-left:26px;border-left:1px solid var(--line);font-family:var(--mono);font-size:.82rem}
.external-home:hover,.text-action:hover,.download-link:hover,.foot a:hover{color:var(--green)}
.hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5.6vw,90px);align-items:center;padding-block:clamp(54px,5.7vw,88px) clamp(54px,5.6vw,85px)}
.hero-copy{padding:4px 0}
.eyebrow,.tile-kicker,.scope-input,.meter-label,.bar-head,.scope-note,.byline,.source-meta,.result-count,.method-tags,.next>span{font-family:var(--mono)}
.eyebrow{display:flex;align-items:center;gap:10px;font-size:.75rem;font-weight:400;letter-spacing:.09em;text-transform:uppercase;color:var(--green);line-height:1.65}
.signal-rule{width:25px;height:2px;display:inline-block;flex:none;background:currentColor}
.hero h1{font-size:clamp(5.25rem,7.45vw,7.55rem);line-height:.90;letter-spacing:-.083em;font-weight:550;margin:25px 0 22px}
.fullstop{color:#57934d}
.deck{font-size:clamp(1.11rem,1.55vw,1.36rem);line-height:1.5;letter-spacing:-.025em;color:var(--copy);max-width:42ch}
.hero-copy .deck{max-width:35ch}
.hero-actions{display:flex;align-items:center;gap:clamp(18px,2vw,30px);margin-top:27px;flex-wrap:wrap}
.primary,.text-action,.download-link,.small-download{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.primary{background:var(--ink);color:#f7f9f3;font-size:.96rem;font-weight:550;border-radius:5px;padding:12px 18px;border:1px solid var(--ink);transition:background .15s}
.primary:hover{background:#334639}
.text-action,.download-link{font-weight:530;font-size:.94rem}
.byline{display:flex;align-items:center;gap:13px;color:var(--muted);font-size:.77rem;margin-top:22px}
.byline i{height:10px;border-left:1px solid #a7b2a5}
.byline a:hover{text-decoration:underline}
.scope{min-width:0;padding:20px 23px 15px;background:#15221c;color:#eef4e9;border:1px solid #25362a;border-radius:11px;box-shadow:0 10px 23px -16px #192b1dac}
.scope-title,.scope-title>div,.scope-top,.transport,.scope-legend,.bar-head{display:flex;align-items:center}
.scope-title{justify-content:space-between;border-bottom:1px solid #39483d;padding-bottom:13px}
.scope-title>div{gap:9px}
.scope-title svg{color:#c1ec91}
.scope-title h2{font-size:1.04rem;font-weight:570;letter-spacing:-.025em}
.scope-input,.meter-label,.bar-head{font-size:.75rem;color:#aebfae}
.scope-input{display:flex;align-items:center;gap:7px;letter-spacing:.015em}
.scope-input::before{content:"";width:9px;height:7px;display:inline-block;background:repeating-linear-gradient(to right,#afc4a8 0 1px,transparent 1px 3px)}
.scope-top{justify-content:space-between;margin:17px 0 12px;gap:9px}
.view-tabs{display:inline-flex;gap:6px}
.view-tabs button{font:400 .78rem/1.2 var(--mono);padding:4px 8px;background:transparent;border:1px solid transparent;border-radius:4px;color:#b7c5b7}
.view-tabs button:first-child{margin-left:-1px}
.view-tabs button[aria-pressed=true]{color:#d9f1c8;background:#2c3e2e;border-color:#435740}
.view-tabs button:hover,.bar-bank button:hover{color:white;border-color:#b6df9f}
.plot-frame{border:1px solid #3c4c3f;background:#101a15;border-radius:4px;overflow:hidden}
.plot{position:relative;height:clamp(104px,10.5vw,155px);isolation:isolate;overflow:hidden;background:repeating-linear-gradient(to right,transparent 0,transparent calc(6.25% - 1px),#26362a calc(6.25% - 1px),#26362a 6.25%),repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),#243328 calc(25% - 1px),#243328 25%)}
.plot::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #64745c;z-index:-1}
.plot img{position:absolute;inset:0;height:100%;width:100%;object-fit:fill}
.plot img[src*="wave"]{filter:drop-shadow(0 0 3px #a4d86f55)}
.marker-layer,.playhead{position:absolute;inset:0;pointer-events:none}
.beatmark{position:absolute;left:calc(var(--mark) * 12.5%);top:0;bottom:0;border-left:1px dashed #89b98b90}
.beatmark::before{content:"";position:absolute;left:0;top:0;width:4px;height:4px;background:#a1c6a5}
.beatmark.down{border-left:2px solid #ab9cdbb8}
.beatmark.down::before{background:#c0a8eb;width:6px;height:7px}
.beatmark.first{border-left:2px solid #f5bd76cf}
.beatmark.first::before{background:#f1ba77}
.playhead{left:0;right:auto;width:1px;background:#e9f6d3;box-shadow:0 0 4px #c3eaa86b;visibility:hidden}
.scope.playing .playhead,.scope.seeked .playhead{visibility:visible}
.playhead::before{content:"";position:absolute;left:-3px;top:0;border-top:5px solid #e8f4db;border-inline:3.5px solid transparent}
.ticks{display:grid;grid-template-columns:repeat(8,1fr);font:400 .72rem/1 var(--mono);color:#b6c6b6;padding:7px 0;background:#1c2921;border-top:1px solid #354538}
.ticks span{padding-left:5px}
.scope-legend{gap:16px;flex-wrap:wrap;font:400 .75rem/1.4 var(--mono);color:#bfccbe;margin:9px 0 17px}
.scope-legend span{display:inline-flex;gap:6px;align-items:center}
.scope-legend i{width:7px;height:7px;display:inline-block}
.d-beat{background:#9dc4a4}.d-bar{background:#baa6e5}.d-phrase{background:#f1bb7a}
.bar-head{justify-content:space-between;margin-bottom:6px}
.bar-head>span:first-child{color:#d4dfd3}
.bar-bank{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
.bar-bank button{position:relative;font:400 .75rem/1.5 var(--mono);border:1px solid #48594b;border-radius:2px;background:#23332a;color:#bfd0bf;padding:4px 0 3px}
.bar-bank button[aria-pressed=true]{background:#c4ed96;color:#152118;border-color:#c4ed96}
.transport{gap:clamp(14px,2vw,27px);margin-top:16px;padding-top:13px;border-top:1px solid #39483d;align-items:center}
.play{font:600 .87rem var(--sans);display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 11px;background:var(--lime);color:#1d2c1b;border:0;border-radius:4px;min-width:104px;min-height:39px}
.play:hover{background:#d2f9a9}
.setting{display:flex;gap:1px;flex-direction:column;font:400 .71rem/1.3 var(--mono);color:#abb9ab;white-space:nowrap}
.setting select,.filter-select select{appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23a2b49b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 5px center / 9px;border:0;color:#ecf3e8;padding:3px 21px 3px 0;font:400 .80rem/1.4 var(--mono);border-radius:0}
.setting select option{background:#15221c;color:#f4f7f0}
.scope-note{font-size:.73rem;color:#b1bfaf;line-height:1.45;margin-top:12px}
.guide-band{background:#edf0e7;border-block:1px solid var(--line);padding:43px 0 57px;scroll-margin-top:12px}
.section-head{display:flex;align-items:end;gap:18px;justify-content:space-between;margin-bottom:25px}
.section-head h2{font-size:clamp(2rem,3.25vw,2.85rem);letter-spacing:-.065em;font-weight:550;line-height:1.1;margin-top:7px}
.download-link{color:var(--copy);padding-bottom:3px}
.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #bdc6b8;border-bottom:1px solid #bdc6b8}
.chapter-tile{position:relative;display:flex;flex-direction:column;align-items:start;gap:14px;padding:23px 23px 25px;min-width:0;border-right:1px solid #c9d1c4;transition:background .15s}
.chapter-tile:nth-child(4n){border-right:0}
.chapter-tile:nth-child(n+5){border-top:1px solid #c9d1c4}
.chapter-tile:hover{background:#e1e8d9}
.tile-mark{height:36px;width:36px;display:grid;place-items:center;background:#dce7d3;color:#3d6142;border:1px solid #beceba;border-radius:5px}
.tile-kicker{color:#53654f;font-size:.72rem;line-height:1.4}
.chapter-tile h3{font-weight:590;font-size:1.26rem;line-height:1.25;letter-spacing:-.045em;margin:5px 0 7px}
.chapter-tile p:last-child:not(.tile-kicker){color:#49584b;font-size:1.01rem;line-height:1.46;letter-spacing:-.017em}
footer{padding:26px 0 30px;background:var(--paper)}
.foot{display:flex;align-items:center;gap:24px;font:400 .78rem var(--mono);color:var(--muted)}
.foot-brand{font:600 1rem var(--sans);gap:7px;color:var(--ink);letter-spacing:-.055em}
.foot-brand svg{color:var(--green)}
.foot>a:last-child{margin-left:auto;display:flex;align-items:center;gap:8px}
.reading-layout{display:grid;grid-template-columns:226px minmax(0,800px);column-gap:clamp(35px,6.5vw,115px);justify-content:start;padding-block:57px 75px}
.chapter-aside{align-self:start;position:sticky;top:26px;padding-top:4px}
.aside-title,.small-download,.chapter-nav a{display:flex;align-items:center;gap:10px}
.aside-title{font-weight:600;letter-spacing:-.02em;margin-bottom:15px}
.aside-title svg,.chapter-nav svg{color:#547153;flex:none}
.chapter-nav a{padding:9px 12px;font-size:.95rem;line-height:1.4;border-left:2px solid var(--line);color:var(--muted)}
.chapter-nav a:hover{background:#e8ede1}
.chapter-nav a[aria-current]{background:#e2ead9;color:#253b26;border-color:#5f884c;font-weight:600}
.small-download{margin-top:18px;padding-left:4px;font:400 .77rem var(--mono);color:var(--muted)}
.reading{min-width:0}
.article-head{padding-bottom:25px;margin-bottom:26px;border-bottom:1px solid var(--line)}
.article-head h1,.listing-head h1{font-size:clamp(2.85rem,5.6vw,5rem);line-height:1.04;letter-spacing:-.073em;font-weight:550;margin:13px 0}
.chapter-sub{font-size:clamp(1.12rem,1.8vw,1.37rem);line-height:1.45;color:var(--muted);letter-spacing:-.027em;max-width:57ch}
.prose{font-size:1.08rem;line-height:1.76;letter-spacing:-.013em;color:#28362e}
.prose>p{margin:0 0 17px;max-width:75ch}
.prose strong{color:#1c2a1e;font-weight:650}
.prose h2{margin:36px 0 15px;font-size:clamp(1.6rem,3.1vw,2.23rem);font-weight:550;letter-spacing:-.056em;line-height:1.13;scroll-margin-top:22px}
.prose ol{padding-left:1.35em}
.prose li{padding-left:.2rem;margin-bottom:12px}
.ref{font:400 .72em var(--mono);white-space:normal;color:#4b724b;vertical-align:.20em;letter-spacing:0}
.ref::before{content:'['}.ref::after{content:']'}
.ref a:hover,.source-links a:hover,.method-links a:hover,.chapter-refs a:hover,.next a:hover{text-decoration:underline;text-underline-offset:3px}
.table-scroll{overflow-x:auto;max-width:100%;margin:18px 0 26px}
.prose table{border-collapse:collapse;width:100%;font-size:.96rem;line-height:1.51;letter-spacing:-.01em}
.prose th,.prose td{text-align:left;vertical-align:top;padding:12px 13px;border-bottom:1px solid var(--line);min-width:98px}
.prose th{font:500 .8rem/1.4 var(--mono);color:#334a36;background:#e4ebdc;border-top:1px solid #bdcbb7}
.prose td:first-child{font-weight:540}
.prose tr:nth-child(even) td{background:#eef1e9}
.chapter-refs{margin-top:32px;border-block:1px solid var(--line);padding:12px 0}
.chapter-refs summary{cursor:pointer;font-size:1rem;font-weight:550}
.chapter-refs ul{list-style:none;padding:0}
.chapter-refs li{margin:7px 0;display:flex;gap:9px}
.chapter-refs li span{font:400 .8rem/1.8 var(--mono);color:var(--green);flex:none}
.next{margin-top:25px;display:flex;flex-direction:column;align-items:start;gap:3px}
.next>span,.result-count{font-size:.77rem;color:var(--muted)}
.next a{font-size:1.32rem;letter-spacing:-.035em;font-weight:560;color:var(--green)}
.listing{padding-block:58px 69px}
.listing-head{max-width:950px;margin-bottom:30px}
.listing-head .deck{max-width:66ch}
.filterbar{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap}
.search-field,.filter-select{border:1px solid #b9c5b5;background:var(--sheet);border-radius:5px;display:flex;align-items:center}
.search-field{width:min(430px,100%);gap:9px;padding:0 14px;color:var(--green)}
.search-field input{width:100%;min-width:0;border:0;padding:12px 0;color:var(--ink);background:transparent}
.filter-select{padding-left:12px;gap:6px}
.filter-select>span{font:400 .76rem var(--mono);color:var(--muted)}
.filter-select select{color:var(--ink);font:.9rem var(--sans);padding:13px 30px 13px 4px;background-position:right 12px center}
.result-count{margin:12px 0 15px;min-height:1em}
.empty{padding:25px 0;color:var(--muted)}
.method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.method{padding:21px;background:#f1f4ec;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column}
.method-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.75rem;color:var(--muted)}
.method-tags span:first-child{color:#365636;border-radius:3px;background:#dfe9d6;padding:3px 6px}
.method h2,.source h2{font-size:1.4rem;line-height:1.17;letter-spacing:-.042em;font-weight:580;margin:12px 0 7px}
.method>p,.source-note{line-height:1.5;font-size:1rem;color:var(--copy)}
.method p.method-limit{color:var(--muted);margin:8px 0 16px}
.method-links,.source-links{display:flex;gap:17px;align-items:center;flex-wrap:wrap;color:var(--green);font:400 .79rem/1.5 var(--mono)}
.method-links{border-top:1px solid var(--line);padding-top:11px;margin-top:auto}
.sources-list{max-width:1040px;border-bottom:1px solid var(--line)}
.source{scroll-margin-top:16px;display:grid;grid-template-columns:50px 1fr;gap:16px;border-top:1px solid var(--line);padding:20px 14px 23px 0}
.source:target{background:#e7efdf}
.source-id{color:var(--green);font:400 .82rem var(--mono);padding-top:4px}
.source-meta{color:var(--muted);font-size:.75rem}
.source-meta span{margin:0 4px;color:#8a998a}
.source h2{margin:5px 0}
.source h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.source-links{margin-top:8px}
@media(min-width:1500px){.hero{gap:98px}}
@media(max-width:1080px){.hero{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:30px}.hero h1{font-size:clamp(4.75rem,8.5vw,6rem)}.scope{padding-inline:17px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-tile{flex-direction:row;gap:15px}.tile-mark{flex:none}.chapter-tile:nth-child(2n){border-right:0}.chapter-tile:nth-child(n+3){border-top:1px solid #c9d1c4}.method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reading-layout{grid-template-columns:188px minmax(0,1fr);gap:34px}.chapter-nav a{padding-inline:8px;font-size:.90rem}}
@media(max-width:800px){.wrap{width:calc(100% - 46px)}.mast-in{height:65px;gap:20px}.mast nav{gap:18px}.external-home{padding-left:17px}.hero{gap:24px;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);padding-block:43px}.hero h1{font-size:clamp(3.7rem,8.5vw,4.7rem)}.hero-actions{align-items:start;flex-direction:column;gap:12px;margin-top:21px}.hero-copy .deck{font-size:1.06rem}.transport{gap:13px}.view-tabs button{font-size:.72rem}.scope .meter-label{font-size:.71rem}.scope{padding:16px 13px 12px}.reading-layout{grid-template-columns:minmax(0,1fr)}.chapter-aside{display:none}.reading{max-width:760px}.hero .eyebrow{font-size:.66rem;gap:6px}.hero .signal-rule{width:17px}}
@media(max-width:660px){.wrap{width:calc(100% - 36px)}.mast-in{height:61px;gap:10px}.brand{gap:7px;font-size:1.12rem}.brand-signal{width:27px;height:27px}.brand-signal svg{width:20px}.mast nav{gap:14px}.mast nav a{font-size:.82rem}.external-home{display:none}.hero{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:34px 33px}.hero-copy{padding:0}.hero .eyebrow{font-size:.71rem;gap:9px}.hero .signal-rule{width:23px}.hero h1{font-size:clamp(4.05rem,13.5vw,5.6rem);margin:17px 0 11px;line-height:.97}.hero h1 br{display:none}.hero h1 br::after{content:" "}.hero-copy .deck{max-width:39ch;font-size:1.07rem}.hero-actions{flex-direction:row;align-items:center;gap:18px;margin-top:18px}.primary{padding:10px 13px}.text-action,.primary{font-size:.88rem}.byline{margin-top:14px}.scope{padding:16px 16px 12px}.scope-top{margin-top:12px}.plot{height:104px}.scope-legend{margin:7px 0 12px;gap:13px}.transport{justify-content:flex-start;gap:24px}.guide-band{padding:30px 0}.section-head{align-items:start;gap:12px}.section-head h2{font-size:2rem}.download-link{font-size:.79rem;gap:5px;align-self:end}.chapter-grid{grid-template-columns:1fr}.chapter-tile{border-right:0;padding:18px 2px;gap:16px}.chapter-tile:nth-child(n+2){border-top:1px solid #c9d1c4}.chapter-tile h3{margin:3px 0 4px}.tile-mark{margin-top:2px}.tile-kicker{font-size:.71rem}.reading-layout,.listing{padding-block:33px 44px}.prose{font-size:1.04rem;line-height:1.7}.prose th,.prose td{padding:9px 8px;min-width:95px}.foot{flex-wrap:wrap;gap:9px 20px}.foot>span{display:none}.foot>a:last-child{font-size:.70rem}.method-grid{grid-template-columns:1fr}.source{grid-template-columns:37px 1fr;gap:6px}.filterbar{gap:8px}.search-field{width:100%}.section-head .eyebrow{font-size:.67rem}}
@media(max-width:375px){.mast nav{gap:9px}.brand{font-size:1rem}.transport{gap:12px}.scope{padding-inline:12px}.scope-legend{gap:12px}.section-head{flex-wrap:wrap}.hero-actions{gap:12px}.text-action{gap:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media print{.mast,.chapter-aside,.next,footer,.hero-actions,.filterbar,.scope{display:none}.wrap{width:auto}.reading-layout,.hero{display:block;padding:0}.reading,.prose>p{max-width:none}.chapter-refs{display:none}.prose h2{break-after:avoid}body{background:white}}
