/* C-Note Music Philly · Design D — sections.css
   teacher, numbers, pinned instruments, rhythm grid, levels, studio, reviews, booking, footer */

.sec { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.inv { background: var(--ink); color: var(--paper); }
.lime { background: var(--lime); color: var(--ink); }
.sec__head { border-top: 1px solid currentColor; padding-top: 12px; margin-bottom: clamp(36px, 6vw, 88px); row-gap: 4px; }
.sec__head .idx { grid-column: 1 / 2; }
.sec__head .lab { grid-column: 2 / -1; }
.sec__head .lab2 { grid-column: 1 / -1; color: var(--mute); }
.inv .sec__head .lab2 { color: #a8a8a8; }
.lime .sec__head .lab2 { color: var(--ink); }
@media (min-width: 640px) {
  .sec__head .lab { grid-column: 2 / 4; }
  .sec__head .lab2 { grid-column: 4 / -1; text-align: right; }
}
@media (min-width: 1000px) { .sec__head .lab { grid-column: 2 / 7; } .sec__head .lab2 { grid-column: 7 / -1; } }
.h2 {
  font-size: clamp(46px, 8.4vw, 140px); line-height: .86; font-weight: 850; font-stretch: 78%;
  letter-spacing: -.035em; text-transform: uppercase;
}
.thin { font-weight: 200; font-stretch: 108%; letter-spacing: -.02em; }

/* ---------- 01 teacher ---------- */
.statement {
  font-size: clamp(30px, 5.1vw, 84px); line-height: 1.02; font-weight: 750; font-stretch: 84%;
  letter-spacing: -.03em;
}
@media (min-width: 1000px) { .statement { text-indent: calc((100% + var(--gap)) / 12 * 2); } }
.statement mark { background: var(--lime); color: inherit; padding: 0 .06em; }
.is-fill .w { color: #cbcbcb; transition: color .3s var(--ease), background-color .3s var(--ease); }
.is-fill .w.on { color: var(--ink); }
.is-fill mark.w { background: transparent; }
.is-fill mark.w.on { background: var(--lime); }
.teacher__body { margin-top: clamp(64px, 9vw, 140px); row-gap: 36px; align-items: start; }
.teacher__name {
  grid-column: 1 / -1; font-size: clamp(48px, 7vw, 112px); line-height: .86; font-weight: 850;
  font-stretch: 72%; letter-spacing: -.03em; text-transform: uppercase;
}
.teacher__bio { grid-column: 1 / -1; display: grid; gap: 1em; font-size: clamp(17px, 1.35vw, 20px); max-width: 36em; }
.facts { grid-column: 1 / -1; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.facts dt { color: var(--mute); flex: none; }
.facts dd { text-align: right; }
@media (min-width: 640px) { .teacher__bio { grid-column: 1 / 5; } .facts { grid-column: 5 / 7; } .facts div { display: block; } .facts dd { text-align: left; } }
@media (min-width: 1000px) { .teacher__name { grid-column: 1 / 7; } .teacher__bio { grid-column: 7 / 11; } .facts { grid-column: 11 / 13; } }
.soul { margin-top: clamp(64px, 9vw, 140px); padding-top: 14px; border-top: 1px solid var(--ink); row-gap: 18px; }
.soul__k, .soul blockquote, .soul figcaption { grid-column: 1 / -1; }
.soul p { font-size: clamp(28px, 4.2vw, 68px); line-height: 1.04; font-weight: 300; letter-spacing: -.025em; }
.soul mark { background: var(--lime); color: var(--ink); font-weight: 800; font-stretch: 90%; padding: 0 .06em; }
@media (min-width: 1000px) { .soul__k { grid-column: 1 / 3; } .soul blockquote, .soul figcaption { grid-column: 3 / 12; } }

/* ---------- 02 numbers ---------- */
.nums__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(40px, 6vw, 88px); }
.num { border-top: 1px solid rgba(255, 255, 255, .4); padding: 14px 0 40px; }
.num__v {
  font-size: clamp(72px, 20vw, 260px); line-height: .8; font-weight: 900; font-stretch: 70%;
  letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.num__v sup { font-size: .34em; vertical-align: top; position: relative; top: .1em; margin-left: .05em; color: var(--lime); font-weight: 500; font-stretch: 100%; letter-spacing: 0; }
.num--hot .num__v { color: var(--lime); }
.num--hot .num__v sup { color: var(--paper); }
.num__l { margin-top: 16px; color: #bdbdbd; max-width: 28ch; }
@media (min-width: 1000px) { .nums__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .num__v { font-size: min(16vw, 260px); } }

/* ---------- 03 instruments: pinned horizontal scroll ---------- */
.hs { position: relative; border-top: 1px solid var(--ink); }
.hs__head {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end; padding-block: 14px 0; border-bottom: 1px solid var(--ink);
}
.hs__idx { grid-column: 1 / -1; margin-bottom: 6px; }
.hs__title {
  grid-column: 1 / -2; font-size: clamp(34px, 5.4vw, 84px); line-height: .88; font-weight: 850;
  font-stretch: 78%; letter-spacing: -.03em; text-transform: uppercase;
}
.hs__count { grid-column: -2 / -1; text-align: right; font-size: 13px; }
.hs__bar { grid-column: 1 / -1; height: 4px; margin-top: 14px; background: var(--soft); margin-inline: calc(var(--g) * -1); }
.hs__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.hs:not(.is-h) .hs__bar, .hs:not(.is-h) .hs__count { visibility: hidden; }
.panel {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 18px var(--g) 40px; border-bottom: 1px solid var(--ink); background: var(--paper);
}
.panel--inv { background: var(--ink); color: var(--paper); }
.panel__meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid currentColor; }
.panel__word {
  font-size: clamp(64px, 15vw, 220px); line-height: 0; font-weight: 900; font-stretch: 80%;
  letter-spacing: -.04em; text-transform: uppercase;
}
.fit { display: inline-block; white-space: nowrap; width: max-content; line-height: .8; }
.panel--inv .panel__word { color: var(--lime); }
.panel__body { display: grid; gap: 18px; align-content: end; }
.panel__txt { font-size: clamp(17px, 1.6vw, 24px); line-height: 1.32; max-width: 30em; }
.panel__dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid currentColor; }
.panel__dl dt { opacity: .6; flex: none; }
.panel__dl dd { text-align: right; }
.panel__link {
  justify-self: start; font-weight: 750; font-size: 15px; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; transition: color .2s, background .2s;
}
.panel__link:hover { background: var(--lime); color: var(--ink); }
@media (min-width: 1000px) {
  .panel__body { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: end; }
  .panel__link { grid-column: 1 / -1; }
}
.js .hs.is-h .hs__sticky {
  position: sticky; top: var(--hdr); display: flex; flex-direction: column;
  height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); overflow: hidden; overflow: clip;
}
.js .hs.is-h .hs__track { flex: 1; min-height: 0; display: flex; width: max-content; will-change: transform; }
.js .hs.is-h .panel { flex: none; width: var(--hsw, 100vw); height: 100%; border-bottom: 0; border-right: 1px solid var(--ink); justify-content: space-between; padding-bottom: 22px; }
.js .hs.is-h .panel__word { opacity: .22; transition: opacity .5s var(--ease); }
.js .hs.is-h .panel.is-cur .panel__word { opacity: 1; }
@media (min-width: 1000px) { .js .hs.is-h .panel { width: calc(var(--hsw, 100vw) * .72); padding-inline: 32px; } }
@media (max-width: 639px) { .js .hs.is-h .panel__txt { font-size: 16px; } }

/* ---------- 04 genres: rhythm grid ---------- */
.genres__top { row-gap: 20px; margin-bottom: clamp(32px, 5vw, 64px); align-items: end; }
.genres__top .h2, .genres__txt { grid-column: 1 / -1; }
.genres__txt { max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); }
@media (min-width: 1000px) { .genres__top .h2 { grid-column: 1 / 9; } .genres__txt { grid-column: 9 / 13; } }
.rg { border-top: 1px solid var(--ink); }
.rg__row { border-bottom: 1px solid var(--ink); }
.rg__btn {
  width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-areas: "i n" "c c";
  column-gap: var(--gap); row-gap: 10px; align-items: center; padding: 12px 0; border: 0;
  background: transparent; text-align: left;
  transition: background .25s var(--ease), color .25s var(--ease), padding .4s var(--ease);
}
.rg__i { grid-area: i; align-self: start; padding-top: .3em; }
.rg__name {
  grid-area: n; font-size: clamp(34px, 5.4vw, 92px); line-height: .86; font-weight: 820; font-stretch: 78%;
  letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; transition: font-weight .45s var(--ease);
}
.rg__cells { grid-area: c; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; height: 34px; align-items: end; }
@media (min-width: 1000px) {
  .rg__btn { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: none; }
  .rg__i { grid-area: auto; grid-column: 1 / 2; }
  .rg__name { grid-area: auto; grid-column: 2 / 7; }
  .rg__cells { grid-area: auto; grid-column: 7 / 13; height: clamp(40px, 3.6vw, 60px); gap: 4px; }
}
.c { display: block; height: 100%; border: 1px solid var(--soft); transition: background-color .1s linear, transform .25s var(--ease); transform-origin: 50% 100%; }
.c.k, .c.s, .c.h { background: var(--ink); border-color: var(--ink); }
.c.s { height: 64%; }
.c.h { height: 34%; }
.rg__cells .c.r:nth-child(4n+1) { border-color: #b9b9b9; }
.c.now { background: var(--soft); }
.c.now.k, .c.now.s, .c.now.h { background: #8c8c8c; border-color: #8c8c8c; }
.rg__row:hover .rg__btn, .rg__row.is-solo .rg__btn { background: var(--ink); color: var(--paper); padding-inline: 12px; }
.rg__row.is-solo .rg__name { font-weight: 250; }
.rg__row:hover .c, .is-solo .c { border-color: #3c3c3c; }
.rg__row:hover .c.k, .rg__row:hover .c.s, .rg__row:hover .c.h,
.is-solo .c.k, .is-solo .c.s, .is-solo .c.h { background: var(--paper); border-color: var(--paper); }
.is-solo .c.now { background: #2a2a2a; }
.is-solo .c.now.k, .is-solo .c.now.s, .is-solo .c.now.h { background: var(--lime); border-color: var(--lime); transform: scaleY(1.14); }
.rg__btn[aria-pressed="true"] .rg__i { color: var(--lime); }
.rg__btn[aria-pressed="true"] .rg__i::after { content: " ■"; }
.rg__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--mute); }
.rg__legend span { display: inline-flex; align-items: flex-end; gap: 8px; }
.rg__legend .c { width: 10px; height: 14px; }
.rg__legend .c.s { height: 9px; }
.rg__legend .c.h { height: 5px; }

/* ---------- 05 levels ---------- */
.levels { overflow-x: hidden; overflow-x: clip; }
.levels__top { row-gap: 20px; margin-bottom: clamp(32px, 5vw, 64px); align-items: end; }
.levels__top .h2, .levels__note { grid-column: 1 / -1; }
.levels__note { max-width: 32em; font-size: clamp(16px, 1.3vw, 19px); }
@media (min-width: 1000px) { .levels__top .h2 { grid-column: 1 / 9; } .levels__note { grid-column: 9 / 13; } }
.ladder { border-top: 1px solid var(--ink); }
.ladder li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--gap); align-items: baseline; padding: 10px 0 12px; border-bottom: 1px solid var(--ink); }
.ladder .t {
  font-size: clamp(34px, 9.5vw, 150px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase;
  white-space: nowrap; font-variation-settings: "wght" var(--w), "wdth" var(--s);
}
.ladder .is-top .t { background: var(--lime); padding: 0 .06em; justify-self: start; }
@media (min-width: 1000px) { .ladder li { grid-template-columns: repeat(12, minmax(0, 1fr)); } .ladder .mono { grid-column: 1 / 2; } .ladder .t { grid-column: 2 / -1; } }
@media (prefers-reduced-motion: no-preference) {
  .fx .ladder .t { transition: font-variation-settings 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 80ms + 150ms); }
  .fx .ladder li:not(.is-in) .t { font-variation-settings: "wght" 500, "wdth" 88; }
}

/* ---------- 06 studio ---------- */
.studio { overflow-x: hidden; overflow-x: clip; }
.drift {
  margin: clamp(8px, 2vw, 24px) 0 clamp(40px, 6vw, 88px); font-size: clamp(52px, 12.5vw, 210px); line-height: .84;
  font-weight: 900; font-stretch: 74%; letter-spacing: -.04em; text-transform: uppercase;
}
.dl { display: block; white-space: nowrap; padding-inline: var(--g); will-change: transform; }
.dl--r { text-align: right; }
.dl--thin { font-size: .62em; line-height: 1.1; font-weight: 200; font-stretch: 112%; letter-spacing: -.01em; }
.dl--lime { color: var(--lime); }
.studio__intro { row-gap: 24px; align-items: end; margin-bottom: clamp(48px, 7vw, 110px); }
.studio__lede { grid-column: 1 / -1; font-size: clamp(20px, 2.2vw, 32px); line-height: 1.2; max-width: 28em; }
.studio__intro .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 1000px) { .studio__lede { grid-column: 3 / 9; } .studio__intro .btn { grid-column: 10 / 13; justify-self: stretch; } }
.feat { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap); border-top: 1px solid rgba(255, 255, 255, .4); }
.feat li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; padding: 18px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.feat .mono { grid-row: span 2; color: var(--lime); padding-top: .35em; }
.feat h3 { font-size: clamp(24px, 2.4vw, 38px); line-height: 1; font-weight: 780; font-stretch: 84%; letter-spacing: -.02em; text-transform: uppercase; }
.feat p { margin-top: 10px; color: #c4c4c4; max-width: 30em; }
@media (min-width: 640px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat li { grid-template-columns: minmax(0, 1fr); padding: 18px 24px 40px 0; }
  .feat .mono { grid-row: auto; margin-bottom: 36px; }
}

/* ---------- 07 reviews ---------- */
.rv__top { row-gap: 36px; margin-bottom: clamp(48px, 7vw, 100px); align-items: end; }
.rv__score, .rv__dist, .rv__quote { grid-column: 1 / -1; }
.rv__big { font-size: clamp(130px, 30vw, 340px); line-height: .76; font-weight: 900; font-stretch: 68%; letter-spacing: -.05em; margin-bottom: 14px; }
.bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ink); }
.bar:last-child { border-bottom: 1px solid var(--ink); }
.bar b { position: relative; display: block; height: 14px; background: var(--soft); }
.bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--v)); transform-origin: 0 50%; }
.bar span:last-child { text-align: right; }
.rv__quote p { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.04; font-weight: 300; letter-spacing: -.02em; }
.rv__quote figcaption { margin-top: 12px; }
@media (min-width: 640px) { .rv__score { grid-column: 1 / 4; } .rv__dist { grid-column: 4 / -1; } }
@media (min-width: 1000px) { .rv__score { grid-column: 1 / 5; } .rv__dist { grid-column: 5 / 8; } .rv__quote { grid-column: 9 / 13; } }
.rv__label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 0; border-block: 1px solid var(--ink); }
.rv__label span:last-child { color: var(--mute); }
.rv { position: relative; isolation: isolate; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: var(--gap); row-gap: 6px; padding: 20px 0 24px; border-bottom: 1px solid var(--ink); }
.rv::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--g) * -1); background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.rv:hover::before { transform: scaleX(1); }
.rv__n { grid-row: span 3; padding-top: .4em; }
.rv__who { font-size: clamp(26px, 2.8vw, 44px); line-height: .95; font-weight: 820; font-stretch: 80%; letter-spacing: -.02em; text-transform: uppercase; }
.rv__meta { color: var(--mute); }
.rv:hover .rv__meta { color: var(--ink); }
.rv__sum { font-size: clamp(16px, 1.25vw, 19px); max-width: 40em; }
@media (min-width: 1000px) {
  .rv { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; }
  .rv__n { grid-column: 1 / 2; grid-row: auto; }
  .rv__who { grid-column: 2 / 5; }
  .rv__meta { grid-column: 5 / 7; }
  .rv__sum { grid-column: 7 / 13; }
}
.rv__more { margin-top: 32px; }

/* ---------- 08 book ---------- */
.book__top { row-gap: 20px; align-items: end; }
.book__top .h2, .book__intro { grid-column: 1 / -1; }
.book__intro { max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); }
@media (min-width: 1000px) { .book__top .h2 { grid-column: 1 / 9; } .book__intro { grid-column: 9 / 13; } }
.book__grid { row-gap: 56px; margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.form, .contact { grid-column: 1 / -1; }
@media (min-width: 1000px) { .form { grid-column: 1 / 8; } .contact { grid-column: 9 / 13; } }
.form { display: grid; gap: 22px; }
.row2 { display: grid; gap: 22px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld legend { padding: 0; margin-bottom: 8px; }
.inp {
  width: 100%; min-height: 54px; padding: 14px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); font-size: 18px; -webkit-appearance: none; appearance: none;
}
textarea.inp { min-height: 128px; resize: vertical; }
.inp[aria-invalid="true"] { border-width: 2px; box-shadow: inset 6px 0 0 var(--ink); }
.err { min-height: 1.2em; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink);
  background: var(--paper); font-weight: 650; font-size: 15px; cursor: pointer; transition: background .15s, color .15s;
}
.opt span:hover { background: var(--ink); color: var(--paper); }
.opt input:checked + span { background: var(--ink); color: var(--lime); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.status { padding: 14px 16px; border: 1px solid var(--ink); background: var(--paper); font-size: 16px; }
.status:empty { padding: 0; border: 0; }
.contact { border-top: 1px solid var(--ink); }
.contact dl div { padding: 12px 0; border-bottom: 1px solid var(--ink); }
.contact dt { margin-bottom: 4px; }
.contact dd { font-size: clamp(17px, 1.5vw, 21px); font-weight: 650; overflow-wrap: anywhere; }
.contact dd a { text-decoration: none; border-bottom: 2px solid currentColor; }
.contact dd a:hover { background: var(--ink); color: var(--lime); }
.contact__sign { margin-top: 24px; font-size: clamp(44px, 5vw, 80px); line-height: .85; font-weight: 900; font-stretch: 70%; text-transform: uppercase; letter-spacing: -.03em; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: var(--paper); padding-top: 28px; overflow: hidden; overflow: clip; }
.ft__top { row-gap: 16px; padding-bottom: 32px; }
.ft__top p { grid-column: span 2; }
@media (min-width: 1000px) { .ft__top p { grid-column: span 3; } }
.ft a { text-decoration: none; }
.ft a:hover { color: var(--lime); }
.ft__big {
  padding-inline: max(6px, .6vw); font-size: 16.5vw; line-height: 0; font-weight: 900; font-stretch: 80%;
  letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; text-align: center;
}
.ft__word { display: inline-block; width: max-content; line-height: .8; }
.wl { display: inline-block; font-variation-settings: "wght" 900, "wdth" 80; }
.ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block: 18px 22px; margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .3); color: #a8a8a8; }
