@import url("../ui/precision.css");
/* Additions for the integrated v5 homepage (preview). v5's own styles are unchanged; these use its palette. */
.main-nav a[data-xp]{white-space:nowrap}
.tms-card-wrap{display:flex;flex-direction:column;gap:10px;min-width:0}
.tms-card-wrap>.journey-card{flex:1}
.tms-card-example{align-self:flex-start;font-size:13px;color:#1f5a51;text-decoration:underline;text-underline-offset:3px}
.tms-open{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:#173c37;text-decoration:underline;text-underline-offset:4px}
.study-sample .tms-open,.study-sample .tms-soon{margin-top:16px}
.tms-soon{display:inline-block;margin-top:14px;font-size:13px;color:#5b6b66;font-style:italic}
.tms-open:focus-visible,.tms-card-example:focus-visible{outline:2px solid #1f5a51;outline-offset:3px}
/* Five areas in the header need a little more room than v5's three in-page links. */
@media (max-width:1050px){.main-nav{gap:14px}.main-nav a{font-size:12px}}
@media (max-width:900px) and (min-width:721px){.nav-cta{display:none}}
.tms-areas{display:none}
@media (max-width:1100px){   /* ten places since Membership joined (2026-10-13): below 1100 px they move to the chip row under the header */
  .site-header .main-nav{display:none}
  .tms-areas{display:flex;gap:8px;overflow-x:auto;padding:12px 17px;border-bottom:1px solid rgba(28,65,63,.14);background:rgba(245,242,234,.97);scrollbar-width:none}
  .tms-areas::-webkit-scrollbar{display:none}
  .tms-areas a{flex:none;padding:8px 13px;border:1px solid rgba(28,65,63,.25);border-radius:999px;color:#173c37;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
}

.main-nav a.tms-owner-nav{padding:7px 13px;border:1px solid #b9894f;border-radius:999px;color:#8a5f2b;font-weight:700}
.main-nav a.tms-owner-nav:hover{background:#b9894f;color:#fff}

.tms-accomp{display:inline-grid;grid-template-columns:auto auto;align-items:center;column-gap:9px;row-gap:2px;margin-left:22px;cursor:pointer;font:600 13px/1.2 Arial,sans-serif;color:#173c37}
.tms-accomp input{width:17px;height:17px;margin:0;accent-color:#1f5a52;grid-row:span 2}
.tms-accomp-hint{grid-column:2;font-size:11px;font-weight:400;color:#5d6f6b}
@media (max-width:720px){.tms-accomp{margin:12px 0 0}}

.tms-credits{margin:14px 0 0;font:12px Arial,sans-serif}.tms-credits a{color:#23584f}

/* From the creator: a slim band right under the hero (home-rosan.js), on the first screen. */
/* A tighter first screen, so Rosan's band is visible on a laptop: the hero's own spacing, slightly reduced; same words. */
@media (min-width:901px){
  html[data-tms-home] .hero{min-height:0;align-items:stretch}
  html[data-tms-home] .hero > :first-child{padding-top:22px!important;padding-bottom:12px!important}
  html[data-tms-home] .hero .eyebrow{margin-bottom:20px}
  html[data-tms-home] .hero h1{font-size:clamp(48px,4.6vw,66px)!important;line-height:1.02}
  html[data-tms-home] .hero-deck{margin:20px 0 22px!important;line-height:1.62!important;font-size:16px!important}
  html[data-tms-home] .hero-foot{margin-top:30px!important}
  html[data-tms-home] .hero-art{min-height:440px;margin:12px 0}
}
.tms-creator{--tms-ink:#173c37;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);margin-block:6px 26px;background:var(--paper,#fcfaf6);border:1px solid var(--line,#d3d8cf);box-shadow:0 18px 44px -34px rgba(20,46,48,.4)}
.tms-creator-song{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:18px;padding:18px 24px}
.tms-kicker{margin:0 0 4px;font:700 10px Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--teal,#235851)}
.tms-song-play{width:50px;height:50px;border-radius:50%;border:0;background:var(--ink,#142e30);color:#fff;display:grid;place-items:center;cursor:pointer;transition:transform .2s,background .2s}
.tms-song-play:hover{transform:scale(1.05);background:var(--teal,#235851)}
.tms-song-play svg{width:22px;height:22px;fill:currentColor}.tms-song-play .s{display:none}
.tms-creator.playing .tms-song-play .p{display:none}.tms-creator.playing .tms-song-play .s{display:block}
.tms-song-play.loading{animation:tmsPulse 1s ease-in-out infinite}
@keyframes tmsPulse{50%{box-shadow:0 0 0 7px rgba(35,88,81,.15)}}
.tms-song-title{font-family:Georgia,serif;font-weight:400;font-size:24px!important;letter-spacing:-.02em;line-height:1.1;margin:0;white-space:nowrap}
.tms-song-by{margin:3px 0 0;font:12px/1.35 Arial,sans-serif;color:var(--ink,#142e30);max-width:290px}.tms-song-by span{display:block;font-size:11px;color:var(--mid,#657675)}
.tms-song-wave{display:block;width:100%;height:46px;cursor:pointer}
.tms-song-foot{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.tms-song-time{font:700 11px Arial,sans-serif;letter-spacing:.08em;color:var(--mid,#657675);font-variant-numeric:tabular-nums}
.tms-parts-toggle{border:0;background:none;padding:0;font:700 11px Arial,sans-serif;color:var(--teal,#235851);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tms-song-parts{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px}
.tms-song-parts[hidden]{display:none}
.tms-parts-hint{flex-basis:100%;margin:2px 0 2px;font:italic 13px Georgia,serif;color:var(--teal,#235851)}
.tms-part{border:1px solid rgba(23,60,55,.3);background:transparent;color:var(--ink,#142e30);font:700 11px Arial,sans-serif;padding:6px 10px;cursor:pointer;transition:all .15s}
.tms-part.on{background:var(--ink,#142e30);border-color:var(--ink,#142e30);color:#fff}
.tms-part:not(.on){color:#8a9895;text-decoration:line-through;text-decoration-color:rgba(23,60,55,.35)}
.tms-part:focus-visible,.tms-song-play:focus-visible,.tms-invite-link:focus-visible,.tms-parts-toggle:focus-visible{outline:2px solid var(--brass,#b18b5f);outline-offset:3px}
.tms-creator-invite{display:flex;align-items:center;gap:18px;padding:16px 22px;border-left:1px solid var(--line,#d3d8cf);background:linear-gradient(90deg,rgba(235,231,220,.55),rgba(235,231,220,.15))}
.tms-invite-text{margin:0 0 9px;font:13px/1.45 Arial,sans-serif;color:#3f514e}
.tms-invite-link{display:inline-flex;gap:8px;align-items:center;background:var(--ink,#142e30);color:#fff;text-decoration:none;font:700 13px Arial,sans-serif;padding:9px 14px}
.tms-invite-link:hover{background:var(--teal,#235851)}
.tms-qr{margin:0;display:flex;flex-direction:column;align-items:center;gap:5px;flex:none}
.tms-qr img{width:76px;height:76px;padding:5px;background:#fff;border:1px solid var(--line,#d3d8cf)}
.tms-qr figcaption{font:10px Arial,sans-serif;color:var(--mid,#657675);white-space:nowrap}
@media (max-width:1100px){.tms-creator{grid-template-columns:1fr}.tms-creator-invite{border-left:0;border-top:1px solid var(--line,#d3d8cf)}}
@media (max-width:720px){.tms-creator{width:calc(100% - 32px);margin-block:4px 18px}.tms-creator-song{grid-template-columns:auto minmax(0,1fr);padding:16px}.tms-song-body{grid-column:1 / -1}.tms-song-title{font-size:21px!important;white-space:normal}.tms-qr{display:none}.tms-creator-invite{padding:14px 16px}}
@media (prefers-reduced-motion:reduce){.tms-song-play,.tms-part{transition:none}.tms-song-play.loading{animation:none}}

/* One melody, three traditions (home-three.js): the melody writes itself in each tradition's lane; the playing
   instrument breathes and ripples with every note. */
.tms-three{margin-top:38px;max-width:540px}
.tms-three-play{display:inline-flex;align-items:center;gap:14px;border:0;background:none;padding:0;cursor:pointer;font:600 15px/1.2 inherit;color:var(--ink,#142e30)}
.tms-three-disc{width:44px;height:44px;border-radius:50%;background:var(--ink,#142e30);color:#fff;display:grid;place-items:center;font-size:13px;transition:transform .2s}
.tms-three-play:hover .tms-three-disc{transform:scale(1.06)}
.tms-three-play:focus-visible{outline:2px solid var(--brass,#b18b5f);outline-offset:4px}
.tms-three-label{border-bottom:1px solid currentColor;padding-bottom:1px}
.tms-three-status{margin:14px 0 16px;font-size:14px;line-height:1.5;color:var(--mid,#657675);min-height:3em}
.tms-three-row{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;padding:12px 0 10px;border-top:1px solid #d3ddd3}
.tms-three-row:last-child{border-bottom:1px solid #d3ddd3}
.tms-three-art{position:relative;height:80px;display:flex;align-items:flex-end;justify-content:center}
.tms-three-sketch{--ln-paper:#e8ede6;height:76px;width:auto;max-width:120px;color:var(--ink,#142e30);opacity:.38;transform:scale(var(--swell,1));transform-origin:50% 90%;transition:opacity .8s ease,transform .1s linear}
.tms-three[data-active=western] [data-t=western] .tms-three-sketch,.tms-three[data-active=hindustani] [data-t=hindustani] .tms-three-sketch,
.tms-three[data-active=jazz] [data-t=jazz] .tms-three-sketch,.tms-three.is-done .tms-three-sketch{opacity:1}
.tms-three-ripples{position:absolute;left:-20px;right:-20px;top:-16px;bottom:-16px;width:calc(100% + 40px);height:calc(100% + 32px);overflow:visible;pointer-events:none}
.tms-three-ripples circle{fill:none;stroke:var(--brass,#b18b5f);stroke-width:1.1;transform-box:fill-box;transform-origin:center;animation:tmsRipple 1.6s cubic-bezier(.15,.6,.3,1) forwards}
@keyframes tmsRipple{from{transform:scale(.18);opacity:calc(.35 + .5 * var(--k,1))}to{transform:scale(calc(.75 + .75 * var(--k,1)));opacity:0}}
.tms-three-lane svg{display:block;width:100%;height:72px;overflow:visible}
.tms-three-lane line{stroke:#c3cdc4;stroke-width:.7;vector-effect:non-scaling-stroke}
.tms-three-trace{fill:none;stroke:var(--brass,#b18b5f);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.tms-three-tip{fill:var(--brass,#b18b5f)}.tms-three-halo{fill:var(--brass,#b18b5f);opacity:.18}
.tms-three-cap{margin:6px 0 0;font-size:12.5px;line-height:1.4;color:var(--mid,#657675)}
.tms-three-cap b{color:var(--ink,#142e30);letter-spacing:.14em;text-transform:uppercase;font-size:10.5px;margin-right:8px}
.tms-three-note{margin:14px 0 0;font-size:12px;line-height:1.5;color:var(--mid,#657675)}
@media (max-width:640px){.tms-three-row{grid-template-columns:84px 1fr;gap:12px}.tms-three-sketch{height:58px;max-width:84px}.tms-three-art{height:62px}}

/* The sixth card, My Music: a warm brass tint for achievement, beside My Music's green. */
.journey-card-progress{background:#f7f1e6}
.journey-card-progress:hover{background:#f3ead9}
.symbol-progress svg{display:block;height:100%;max-height:185px;width:auto;transition:transform .35s ease}
.journey-card-progress:hover .symbol-progress svg{transform:rotate(-4deg) scale(1.03)}
@media (prefers-reduced-motion:reduce){.journey-card-progress:hover .symbol-progress svg{transform:none}}
/* My Music's rings, a little smaller, so they no longer run into the card's title. */
.journey-card-stage .record-rings{transform:scale(.8)}

/* The hero's play control: a round button at the centre of the wheel, words kept for screen readers and the tooltip. */
.hero-listen.tms-hub{left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:60px;height:60px;padding:0;border-radius:50%;
  display:grid;place-items:center;background:#fbfaf6;border:1px solid #9fb3aa;box-shadow:0 0 0 7px rgba(251,250,246,.75),0 8px 22px rgba(20,46,48,.14);z-index:3;transition:transform .2s ease,box-shadow .2s ease}
.hero-listen.tms-hub:hover{transform:translate(-50%,-50%) scale(1.06);box-shadow:0 0 0 9px rgba(251,250,246,.8),0 10px 26px rgba(20,46,48,.18)}
.hero-listen.tms-hub:focus-visible{outline:2px solid #1f5a51;outline-offset:6px}
.hero-listen.tms-hub .listen-disc{margin:0;width:42px;height:42px;font-size:14px}
.hero-listen.tms-hub #hero-listen-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* The melody study: a real treble staff (five lines, clef, ledger lines), the question, and the ways onward. */
#try-it .notation-staff{background:repeating-linear-gradient(to bottom,#b9c8bd 0,#b9c8bd 1px,transparent 1px,transparent 14px) 0 40px/100% 57px no-repeat;padding-left:46px}
#try-it .notation-staff::before{content:"\1D11E";position:absolute;left:2px;top:29px;font:88px/1 "Apple Symbols","Noto Music","Segoe UI Symbol","Bravura",serif;color:#55716a;pointer-events:none}
#try-it .note-step .ledger{position:absolute;left:calc(50% - 14px);width:28px;height:1px;background:#8fa59a;pointer-events:none}
.tms-quiz{margin:16px 0 12px;padding:14px 16px;background:#fffdf8;border:1px solid #d9d2c2}
.tms-quiz-q{margin:0;font-size:15px;line-height:1.5;color:#142e30}
.tms-quiz-a{margin:8px 0 0;font-size:14.5px;line-height:1.5}.tms-quiz-a:empty{display:none}
.tms-quiz-a.ok{color:#2f6e4f}.tms-quiz-a.no{color:#8a5a22}
.tms-quiz-show{margin-top:8px;border:0;background:none;padding:0;font:700 13px/1 inherit;color:#1f5a51;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tms-study-next{margin:16px 0 0}.tms-study-next a{font-weight:700;color:#1f5a51;text-decoration:underline;text-underline-offset:3px}
@media (max-width:640px){#try-it .notation-staff{padding-left:40px}#try-it .notation-staff::before{font-size:80px;left:0;top:33px}}

/* The arrangement study: chords can be chosen as the answer to its question. */
#arrangement-study .arrangement-chord[role=button]{cursor:pointer;transition:border-color .2s,box-shadow .2s}
#arrangement-study .arrangement-chord[role=button]:hover{border-color:#8fa59a}
#arrangement-study .arrangement-chord[role=button]:focus-visible{outline:2px solid #1f5a51;outline-offset:3px}
#arrangement-study .tms-quiz{margin:14px 0 0}
#arrangement-study .tms-study-next{display:flex;flex-wrap:wrap;gap:8px 22px;margin:16px 0 4px;font-size:14px}
.tms-three-more{margin:18px 0 0;font:400 18px Georgia,"Times New Roman",serif}
.tms-three-more a{color:var(--teal,#2f6f8f);text-decoration:none;border-bottom:1px solid currentColor}
.tms-three-more a:hover{color:var(--ink,#142e30)}
/* Exam Prep on the homepage (2026-10-10): the band under the hero, six exams in one row; tiles rise as it comes into view. */
.thesis-strip.tms-exams{padding:56px 0 60px;background:#153c3e;color:#e8efe9}
.tms-exams-in{display:block}
.tms-exams-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 28px;margin-bottom:28px}
.tms-exams-head h2{margin:0;font:400 clamp(34px,3.4vw,48px)/1 Georgia,"Times New Roman",serif;letter-spacing:-.03em;color:#fbf8ef}
.tms-exams-head p{flex:1;min-width:280px;margin:0;font:400 17px/1.55 Georgia,"Times New Roman",serif;color:#c8d9d2}
.tms-exams-head a{font:700 13px Arial,sans-serif;color:#e1c48f;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:2px}
.tms-exams-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.tms-exams-row li{opacity:0;transform:translateY(16px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i) * 80ms)}
.tms-exams.in .tms-exams-row li{opacity:1;transform:none}
.tms-exam{display:flex;flex-direction:column;gap:8px;height:100%;min-height:210px;padding:20px 18px 18px;border:1px solid rgba(225,196,143,.28);border-radius:4px;background:rgba(255,255,255,.04);color:#fbf8ef;text-decoration:none;transition:background .25s ease,border-color .25s ease,transform .25s ease}
a.tms-exam:hover{background:rgba(255,255,255,.09);border-color:#e1c48f;transform:translateY(-3px)}
.tms-exam-board{font:700 10.5px Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#e1c48f}
.tms-exam b{font:400 21px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.01em}
.tms-exam-line{font:400 13px/1.5 Arial,sans-serif;color:#b9cdc6}
.tms-exam-foot{margin-top:auto;padding-top:10px;border-top:1px solid rgba(225,196,143,.2);font:700 12.5px Arial,sans-serif;color:#fbf8ef}
.tms-exam-foot i{font-style:normal;color:#e1c48f;margin-left:4px}
.tms-exam.soon{border-style:dashed;background:transparent}
.tms-exam.soon .tms-exam-foot{font-weight:400;font-style:italic;font-family:Georgia,serif;color:#9fb6af}
@media (max-width:1100px){.tms-exams-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){.thesis-strip.tms-exams{padding:42px 0 46px}.tms-exams-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:6px;margin-right:-17px}.tms-exams-row li{flex:0 0 72%;scroll-snap-align:start}.tms-exam{min-height:200px}}
@media (prefers-reduced-motion:reduce){.tms-exams-row li{opacity:1;transform:none;transition:none}}
/* The account menu in the homepage header. */
.tms-account{position:relative;margin-left:12px}
.tms-account-btn{display:grid;place-items:center;width:42px;height:42px;border:1px solid #142e30;border-radius:50%;background:transparent;color:#142e30}
.tms-account-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.tms-account-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:50;min-width:190px;padding:8px;border:1px solid #d3d8cf;border-radius:10px;background:#fffdf8;box-shadow:0 18px 40px rgba(20,46,48,.12)}
.tms-account-menu a{display:block;padding:11px 14px;border-radius:6px;color:#142e30;text-decoration:none;font:400 15px Georgia,"Times New Roman",serif}
.tms-account-menu a:hover{background:#f1f5f0}
.header-inner{gap:22px}.main-nav{gap:28px}
.tms-exams-note{max-width:980px;margin:22px 0 0;font:400 12.5px/1.6 Arial,sans-serif;color:#9fb6af}
/* Balance (owner, 2026-10-10: the menu read small beside an oversized picture and a long waveform). */
.main-nav{gap:28px}
.main-nav a{font-size:15px;font-weight:600;color:#1f3d3c;letter-spacing:0}
.main-nav a:hover{color:#0a7770}
@media (min-width:721px){
  .hero{min-height:600px;grid-template-columns:1.05fr .95fr}
  .hero-art{min-height:500px;max-height:540px;margin:22px 0}
  .score-art{top:10%;height:80%}
}
.tms-creator-song{grid-template-columns:auto minmax(0,1fr) minmax(0,220px)}
.tms-song-body{max-width:220px;justify-self:end;width:100%}
/* The first listening question (2026-10-10): quiet, one task, the answer shown on a staff. */
.tms-first{margin:26px 0 0;max-width:560px;padding:18px 20px;border:1px solid #d9d5c9;border-radius:14px;background:#fffdf8}
.tms-first-k{margin:0;font:700 11px/1 Arial,"Helvetica Neue",sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#8f6529}
.tms-first-q{margin:8px 0 12px;font:400 19px/1.35 Georgia,"Times New Roman",serif;color:#142e30}
.tms-first-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.tms-first button{min-height:44px;padding:0 18px;border-radius:999px;font:700 14px/1 Arial,"Helvetica Neue",sans-serif;cursor:pointer}
.tms-fs-play{background:#fffdf8;border:2px solid #c9973f;color:#8f6529}.tms-fs-play:hover{background:#c9973f;color:#fff}
.tms-fs-ans{background:transparent;border:1.5px solid #142e30;color:#142e30}.tms-fs-ans[aria-pressed=true]{background:#142e30;color:#fff}
.tms-first button:focus-visible,.tms-fs-next:focus-visible{outline:2px solid #23584f;outline-offset:3px}
.tms-first-out{margin-top:14px;border-top:1px solid #e6e0d2;padding-top:12px;font:400 15px/1.55 Arial,"Helvetica Neue",sans-serif;color:#33413f}
.tms-first-out p{margin:0 0 10px}
.tms-first-staves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:6px 0 10px}
.tms-first-staves figure{margin:0}.tms-first-staves svg{width:100%;height:auto}.tms-first-staves figcaption{font-size:13px;color:#5f6d6a;text-align:center}
.tms-fs-link{background:none!important;border:0!important;padding:0!important;min-height:0!important;color:#23584f;text-decoration:underline;text-underline-offset:3px;margin-right:16px}
.tms-fs-next{display:inline-flex;align-items:center;gap:8px;margin-top:6px;font:700 15px/1.3 Arial,"Helvetica Neue",sans-serif;color:#142e30;text-decoration:none;border-bottom:2px solid #c9973f;padding-bottom:3px}
@media (max-width:520px){.tms-first-staves{grid-template-columns:1fr}}
/* One header everywhere (design sheet, 2026-10-10). */
.site-header .wordmark{font:400 22px/1 Georgia,"Times New Roman",serif!important;letter-spacing:0!important}
.wordmark-dot{display:none}
.site-header .brand-mark i:nth-child(4){height:16px}
/* The Ear Lab band (2026-10-10). */
.tms-ear{background:radial-gradient(120% 140% at 15% 40%,#1b4142 0,#102627 60%,#0b1b1c 100%);color:#f3ead4;padding:56px 0}
.tms-ear-in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:48px;align-items:center}
@media (max-width:760px){.tms-ear-in{grid-template-columns:1fr;gap:20px}}
.tms-ear-dial{width:clamp(170px,22vw,240px);height:auto;overflow:visible}
.tms-ed-ring{fill:none;stroke:rgba(232,192,106,.35);stroke-dasharray:1.5 6;transform-origin:110px 110px}
.tms-ed-out{animation:tms-turn 70s linear infinite}.tms-ed-in{stroke:rgba(198,226,218,.35);stroke-dasharray:2 9;animation:tms-turn 45s linear infinite reverse}
@keyframes tms-turn{to{transform:rotate(360deg)}}
.tms-ed-orbit{fill:none;stroke:rgba(255,255,255,.1)}
.tms-ed-st{fill:#163334;stroke:rgba(232,192,106,.6);stroke-width:1.3}
.tms-ed-arc{fill:none;stroke:#e8c06a;stroke-width:3;stroke-linecap:round;stroke-dasharray:190;stroke-dashoffset:190;animation:tms-ed-draw 4.5s ease-in-out infinite}
@keyframes tms-ed-draw{0%,12%{stroke-dashoffset:190}45%,70%{stroke-dashoffset:0}100%{stroke-dashoffset:-190}}
.tms-ed-glow{fill:#e8c06a;opacity:.18;transform-origin:110px 110px;animation:tms-breathe 2.6s ease-in-out infinite}
@keyframes tms-breathe{0%,100%{opacity:.16;transform:scale(1)}50%{opacity:.4;transform:scale(1.15)}}
.tms-ed-home{fill:#d4a54d;filter:drop-shadow(0 0 12px rgba(232,192,106,.6))}
.tms-ear-k{margin:0 0 12px;font:700 11px/1 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#d8b46e}
.tms-ear h2{margin:0;font:400 clamp(30px,3.6vw,44px)/1.1 Georgia,serif;color:#fff8e6}.tms-ear h2 em{display:block;color:#e8c06a}
.tms-ear-t p:not(.tms-ear-k){max-width:58ch;margin:16px 0 22px;font:400 16px/1.6 Arial,sans-serif;color:#c9d4d1}
.tms-ear-go{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;background:#f3ead4;color:#142e30;font:700 15px/1 Arial,sans-serif;text-decoration:none}
.tms-ear-go:hover{background:#e8c06a}.tms-ear-go:focus-visible{outline:2px solid #e8c06a;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.tms-ed-out,.tms-ed-in,.tms-ed-arc,.tms-ed-glow{animation:none}.tms-ed-arc{stroke-dashoffset:0}}
/* Rosan's song and invitation inside the Ear Lab band (2026-10-10): three columns, the dial, the Ear Lab, the creator. */
.tms-ear-in:has(.tms-creator-dark){grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}
@media (max-width:1100px){.tms-ear-in:has(.tms-creator-dark){grid-template-columns:auto minmax(0,1fr)}.tms-ear-in .tms-creator-dark{grid-column:1/-1}}
@media (max-width:760px){.tms-ear-in:has(.tms-creator-dark){grid-template-columns:1fr}}
.tms-creator.tms-creator-dark{--tms-ink:#e8c06a;--tms-ink-dim:rgba(243,234,212,.22);margin:0;display:grid;grid-template-columns:1fr;gap:16px;padding:22px;border:1px solid rgba(232,192,106,.25);border-radius:20px;background:rgba(255,255,255,.035);color:#f3ead4}
.tms-creator-dark .tms-kicker{color:#d8b46e}
.tms-creator-dark .tms-song-title{color:#fff8e6}
.tms-creator-dark .tms-song-by,.tms-creator-dark .tms-song-by span,.tms-creator-dark .tms-song-time,.tms-creator-dark .tms-invite-text,.tms-creator-dark .tms-qr figcaption,.tms-creator-dark .tms-parts-hint{color:#c9d4d1}
.tms-creator-dark .tms-song-play{background:#f3ead4;color:#142e30;border-color:#f3ead4}
.tms-creator-dark .tms-song-play svg path{fill:#142e30}
.tms-creator-dark .tms-parts-toggle,.tms-creator-dark .tms-invite-link{color:#e8c06a;border-color:rgba(232,192,106,.6)}
.tms-creator-dark .tms-creator-invite{border-left:0;border-top:1px solid rgba(255,255,255,.1);padding-left:0;padding-top:16px;background:transparent}
.tms-creator-dark .tms-qr img{background:#fff;padding:4px;border-radius:6px}
.tms-creator-dark .tms-part{color:#f3ead4;border-color:rgba(243,234,212,.4)}
.tms-creator-dark .tms-creator-song{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:12px 16px;align-items:center}
.tms-creator-dark .tms-song-body,.tms-creator-dark .tms-song-parts{grid-column:1/-1}
.tms-creator-dark .tms-song-by{font-size:12.5px;line-height:1.45}
.tms-creator-dark .tms-creator-invite{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
/* Rosan's name in the site's serif (owner, 2026-10-10), eased down and the Berklee line raised (owner, 2026-10-11). */
.tms-song-by small{display:block;font:700 10.5px/1.2 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--mid,#657675)}
.tms-by-name{display:block;margin:6px 0 4px;font:400 clamp(20px,1.9vw,24px)/1.1 Georgia,"Times New Roman",serif;font-style:italic;color:var(--ink,#142e30);letter-spacing:-.01em}
.tms-creator-dark .tms-song-by small{color:#d8b46e}
.tms-creator-dark .tms-by-name{color:#e8c06a;text-shadow:0 0 18px rgba(232,192,106,.25)}
.tms-song-by span{display:block;font-size:13.5px;line-height:1.4}
.tms-creator-dark .tms-song-by span{font-size:13.5px;color:#c9d4d0}
/* Coursework cards that show their music (2026-10-10). */
.study-sample .sample-outcome{display:none}
.cw-fig{margin:2px 0 18px;padding:14px 10px;border-radius:14px;background:linear-gradient(180deg,#f6f3ea,#fbfaf6);border:1px solid #e6e0d2}
.cw-art{display:block;width:100%;height:auto;overflow:visible}
.cw-lbl{font:700 10px Arial,sans-serif;fill:#5f6d6a;letter-spacing:.06em}
.cw-arc{fill:none;stroke:#c9973f;stroke-width:1.4;opacity:.7}
.cw-pulse{fill:#cfd8d4;animation:cw-pulse 1.44s ease-in-out infinite;animation-delay:var(--d)}
.cw-beat{fill:#23584f}
@keyframes cw-pulse{0%,100%{opacity:.45}8%{opacity:1;fill:#c9973f}30%{opacity:.6}}
.cw-ring{fill:none;stroke:#d9d5c9;stroke-width:1.2}
.cw-matra{fill:#cfd8d4}.cw-tali{fill:#23584f}.cw-khali{fill:#fbfaf6;stroke:#23584f;stroke-width:1.6}
.cw-mark{text-anchor:middle;font:400 13px Georgia,serif;fill:#142e30}
.cw-orbit{transform-origin:150px 60px;animation:cw-turn 8s steps(16) infinite}
.cw-light{fill:#c9973f;filter:drop-shadow(0 0 5px rgba(201,151,63,.8))}
@keyframes cw-turn{to{transform:rotate(360deg)}}
.cw-tone{fill:#cfd8d4;stroke:#9fb0ac;stroke-width:1}
.cw-chord{text-anchor:middle;font:400 13px Georgia,serif;fill:#142e30}
.cw-guide{fill:none;stroke:#c9973f;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:200;stroke-dashoffset:200;animation:cw-draw 5s ease-in-out infinite}
.cw-guide2{stroke:#23584f;animation-delay:.6s}
@keyframes cw-draw{0%,10%{stroke-dashoffset:200}45%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-200}}
.cw-gt{font:700 11px Arial,sans-serif;fill:#8f6529}
@media (prefers-reduced-motion:reduce){.cw-pulse,.cw-orbit,.cw-guide{animation:none}.cw-guide{stroke-dashoffset:0}}
/* Coursework playback: the picture follows the music. */
.cw-fig{position:relative}
.cw-play{position:absolute;right:10px;bottom:10px;width:40px;height:40px;border-radius:50%;border:2px solid #c9973f;background:#fffdf8;cursor:pointer;display:grid;place-items:center;transition:background .2s}
.cw-play span{width:0;height:0;margin-left:3px;border-left:11px solid #8f6529;border-top:7px solid transparent;border-bottom:7px solid transparent}
.cw-play:hover{background:#c9973f}.cw-play:hover span{border-left-color:#fff}
.cw-live .cw-play span{margin:0;width:11px;height:12px;border:0;border-left:4px solid #8f6529;border-right:4px solid #8f6529}
.cw-play:focus-visible{outline:2px solid #23584f;outline-offset:3px}
.cw-live .cw-pulse,.cw-live .cw-orbit,.cw-live .cw-guide{animation:none}
.cw-live .cw-pulse{opacity:.5;fill:#cfd8d4}.cw-live .cw-beat{fill:#9fb0ac}
.cw-live .cw-pulse.on{opacity:1;fill:#c9973f;transition:none}
.cw-live .cw-orbit{display:none}
.cw-now{fill:#c9973f;opacity:0;filter:drop-shadow(0 0 6px rgba(201,151,63,.9));transition:cx .12s,cy .12s}
.cw-live .cw-now{opacity:1}.cw-now.sam{r:12}
.cw-seg{fill:none;stroke:#c9973f;stroke-width:3.2;stroke-linecap:round;opacity:0;stroke-dasharray:90;stroke-dashoffset:90;transition:stroke-dashoffset .9s ease,opacity .2s}
.cw-seg-b{stroke:#23584f}
.cw-live .cw-guide{opacity:0}
.cw-live .cw-seg.on{opacity:1;stroke-dashoffset:0}
.cw-live .cw-tone.on{fill:#c9973f;stroke:#8f6529}
/* "Measured to the millisecond" (ui/home/home-precision.js, 2026-10-11): a precision instrument reading Rosan Sharma's
   song as it plays. A dark stage; the needles and the lens in gold and sea-green. */
.pr{background:radial-gradient(120% 140% at 80% 30%,#17393a 0,#0f2425 55%,#0a1819 100%);color:#f3ead4;padding:64px 0 70px;border-top:1px solid rgba(232,192,106,.12)}
.pr-in{display:grid;gap:34px}
.pr-text{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:end}
@media (max-width:1000px){.pr-text{grid-template-columns:1fr;gap:24px}}
.pr-k{margin:0 0 12px;font:700 11px/1 Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#d8b46e}
.pr-text h2{margin:0;font:400 clamp(40px,5vw,66px)/1.02 Georgia,serif;color:#fff6e2}
.pr-lead{margin:16px 0 0;font:400 17px/1.6 Georgia,serif;color:rgba(243,234,212,.85)}
.pr-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media (max-width:640px){.pr-proof{grid-template-columns:1fr}}
.pr-proof div{display:grid;gap:8px}
.pr-proof b{font:400 clamp(32px,3.4vw,44px)/1 Georgia,serif;color:#e8c06a}.pr-proof span{font:400 14px/1.45 Georgia,serif;color:rgba(243,234,212,.75)}
.pr-small{margin:10px 0 0;font:italic 400 13.5px Georgia,serif;color:rgba(198,226,218,.7)}
.pr-go{display:inline-flex;gap:8px;margin-top:22px;padding:12px 20px;border:1px solid rgba(232,192,106,.5);border-radius:999px;color:#f3ead4;text-decoration:none;font:700 13.5px Arial,sans-serif}
.pr-go:hover{background:rgba(232,192,106,.12)}

/* "Now bring yours": the invitation beside the instrument. */
.pr-bring{display:grid;gap:6px;margin-top:22px;padding:22px 26px;border-radius:22px;background:linear-gradient(120deg,#e8c06a,#d6a84c);color:#142e30;text-decoration:none;box-shadow:0 20px 50px rgba(0,0,0,.3);transition:transform .25s ease}
.pr-bring:hover{transform:translateY(-2px)}
.pr-bring-k{font:700 11px Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#5a4214}
.pr-bring b{font:400 clamp(28px,3vw,38px)/1.1 Georgia,serif}.pr-bring span:not(.pr-bring-k){font:400 17px/1.5 Georgia,serif;max-width:760px}
.pr-bring i{margin-top:4px;font:700 14px Arial,sans-serif;font-style:normal}

/* The hero type (owner, 2026-10-11: "British opera and Queen friendly, high class, authoritative"). Big Caslon for the
   title and Baskerville for the rest: English types, installed on Macs and iPhones. Windows with Office has Baskerville
   Old Face. Elsewhere Georgia. No web fonts, so no outside licence. */
html[data-tms-home] .hero .eyebrow{font-family:Baskerville,"Baskerville Old Face",Georgia,serif;font-size:13px;letter-spacing:.24em;text-transform:uppercase;color:#0f3a35;font-weight:600}
html[data-tms-home] .hero h1{font-family:"Big Caslon",Baskerville,"Baskerville Old Face",Georgia,serif!important;font-weight:400!important;letter-spacing:-.005em;font-size:clamp(46px,4.4vw,64px)!important;line-height:1.04;color:#0b1a1b;text-wrap:balance}
html[data-tms-home] .tms-hero-sub{margin:14px 0 0;font-family:Baskerville,"Baskerville Old Face",Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(21px,1.9vw,27px);line-height:1.3;color:#0f3a35}
html[data-tms-home] .hero-deck{font-family:Baskerville,"Baskerville Old Face",Georgia,serif!important;font-size:18.5px!important;line-height:1.6!important;color:#0b1a1b!important;max-width:34em}

/* The ear question in the hero, in the hero's type (owner, 2026-10-11): Baskerville, near-black, nothing grey. */
html[data-tms-home] .tms-first{border-color:#cfc8b6}
html[data-tms-home] .tms-first-k{font:600 13px/1 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.24em;color:#7a5418}
html[data-tms-home] .tms-first-q{font:400 20px/1.4 Baskerville,"Baskerville Old Face",Georgia,serif;color:#0b1a1b}
html[data-tms-home] .tms-first button{font:600 16px/1 Baskerville,"Baskerville Old Face",Georgia,serif}
html[data-tms-home] .tms-fs-play{color:#6b4a14;border-color:#b5832f}
html[data-tms-home] .tms-fs-ans{color:#0b1a1b;border-color:#0b1a1b}html[data-tms-home] .tms-fs-ans[aria-pressed=true]{color:#fff;background:#0b1a1b}
html[data-tms-home] .tms-first-out{font:400 17px/1.55 Baskerville,"Baskerville Old Face",Georgia,serif;color:#0b1a1b}
html[data-tms-home] .tms-first-staves figcaption{font:400 14px Baskerville,"Baskerville Old Face",Georgia,serif;color:#1f3533}
html[data-tms-home] .tms-fs-next{font:600 17px/1.35 Baskerville,"Baskerville Old Face",Georgia,serif;color:#0b1a1b}
.tms-fs-more{display:flex;flex-wrap:wrap;gap:8px 22px;margin:12px 0 0}
.tms-fs-more a{font:600 15px/1.3 Baskerville,"Baskerville Old Face",Georgia,serif;color:#0f3a35;text-decoration:underline;text-underline-offset:3px}

/* The ear question, compact and alive (owner, 2026-10-11: not a big card; display of a high standard). */
html[data-tms-home] .tms-first-out{margin-top:10px;padding-top:10px}
html[data-tms-home] .tms-fs-play{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;gap:8px}
html[data-tms-home] .tms-fs-play::before{content:"";position:absolute;inset:0;z-index:-1;background:#e9d3a6;transform-origin:left;transform:scaleX(var(--fs-p,0))}
html[data-tms-home] .tms-fs-play.on{color:#3d2a08}
html[data-tms-home] .tms-fs-play:hover::before{background:transparent}
.tms-fs-shape{width:30px;height:14px;fill:#6b4a14;stroke:#6b4a14;stroke-width:1.5;animation:tmsShape .5s ease-out both}
.tms-fs-shape polyline{fill:none}
@keyframes tmsShape{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.tms-fs-say{margin:0 0 8px!important;font-size:17px}
.tms-fs-say.ok::before{content:"✓ ";color:#23584f;font-weight:700}
html[data-tms-home] .tms-first-row[hidden]{display:none}
html[data-tms-home] .tms-first-out{animation:tmsShape .35s ease-out both}
@media (prefers-reduced-motion:reduce){.tms-fs-shape,html[data-tms-home] .tms-first-out{animation:none}}


/* The hero drawing's labels and colours (owner, 2026-10-11): Greek and Italian terms in Baskerville, deep teal; the wheel and
   its hands in a darker teal. Layout unchanged. */
html[data-tms-home] .art-caption .tms-gk{font:italic 600 17px/1 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.02em;text-transform:none;color:#0b4a46}
html[data-tms-home] .score-art .tms-gk-svg{font-family:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif;font-style:normal;font-size:19px;letter-spacing:.02em;fill:#0b3a37}
html[data-tms-home] .score-art .tms-gk-say{font-family:Baskerville,"Baskerville Old Face",Georgia,serif;font-style:italic;font-size:13px;letter-spacing:.02em;fill:#2f5f5a}
html[data-tms-home] .art-bottom{justify-content:center!important;align-items:baseline;gap:14px}
html[data-tms-home] .art-bottom .tms-gk-word{font:400 25px/1 Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif;letter-spacing:.06em;color:#0b2f2c;text-transform:none}
html[data-tms-home] .art-bottom .tms-gk-gloss{font:italic 14px/1 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.02em;color:#0b4a46;text-transform:none}
html[data-tms-home] #tms-wheel g[stroke="#6D8F82"]{stroke:#0c4f4b;opacity:.75}
html[data-tms-home] #tms-hands,html[data-tms-home] #tms-hands g{stroke:#0a3f3c}

/* The hero, symmetric (owner, 2026-10-11): the drawing's frame wraps its content (home-adapter.js alignArt sets the sizes)
   and sits centred beside the text, so the space is outside the frame, equal above and below. */
@media (min-width:1051px){
  html[data-tms-home] .hero-art{align-self:start!important;min-height:0!important;max-height:none!important;margin-bottom:0!important;margin-left:0!important;margin-right:0!important}
  html[data-tms-home] .score-art{bottom:auto!important;height:432px!important}}
html[data-tms-home] .tms-ear-t h2,html[data-tms-home] .tms-ear-t h2 em{text-wrap:balance}

/* Rosan's card, redrawn (owner, 2026-10-11: the play button squeezed the description). The words take the full width like a
   record sleeve; the play button joins the waveform in one player bar beneath them. Big Caslon and Baskerville, as in the hero. */
html[data-tms-home] .tms-creator-dark{padding:26px 26px 22px;gap:18px;background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.02));border-color:rgba(232,192,106,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 24px 60px rgba(0,0,0,.25)}
html[data-tms-home] .tms-creator-dark .tms-creator-song{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:16px;row-gap:16px;padding:0!important;align-items:center}
html[data-tms-home] .tms-creator-dark .tms-song-text{grid-column:1 / -1;grid-row:1}
html[data-tms-home] .tms-creator-dark .tms-song-play{grid-column:1;grid-row:2;width:48px;height:48px;background:#e8c06a;border:0;box-shadow:0 0 0 6px rgba(232,192,106,.12)}
html[data-tms-home] .tms-creator-dark .tms-song-play:hover{background:#f3d48a}
html[data-tms-home] .tms-creator-dark .tms-song-body{grid-column:2;grid-row:2;max-width:none!important;justify-self:stretch!important;padding:10px 14px 8px;border-radius:12px;background:rgba(0,0,0,.18);border:1px solid rgba(232,192,106,.14)}
html[data-tms-home] .tms-creator-dark .tms-song-parts{grid-column:1 / -1}
html[data-tms-home] .tms-creator-dark .tms-kicker{font:600 12px/1 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.24em;color:#d8b46e;margin-bottom:10px}
html[data-tms-home] .tms-creator-dark .tms-song-title{font:400 32px/1.1 "Big Caslon",Baskerville,Georgia,serif!important;letter-spacing:-.005em;white-space:normal;color:#fff8e6;margin:0 0 14px}
html[data-tms-home] .tms-creator-dark .tms-song-by{max-width:none;display:grid;gap:3px;font:400 15px/1.45 Baskerville,"Baskerville Old Face",Georgia,serif;color:#d9e1de}
html[data-tms-home] .tms-creator-dark .tms-song-by small{font:600 11px/1 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.22em;text-transform:uppercase;color:#d8b46e}
html[data-tms-home] .tms-creator-dark .tms-by-name{font:italic 400 27px/1.15 Baskerville,"Baskerville Old Face",Georgia,serif;color:#e8c06a;margin:2px 0 4px}
html[data-tms-home] .tms-creator-dark .tms-song-by span{display:block;font:400 15px/1.45 Baskerville,"Baskerville Old Face",Georgia,serif;color:#d9e1de}
html[data-tms-home] .tms-creator-dark .tms-song-wave{height:42px}
html[data-tms-home] .tms-creator-dark .tms-song-time{font:600 12px Baskerville,Georgia,serif;letter-spacing:.06em;color:#c9d4d1}
html[data-tms-home] .tms-creator-dark .tms-parts-toggle{font:600 14px Baskerville,"Baskerville Old Face",Georgia,serif;text-decoration:none;border-bottom:1px solid rgba(232,192,106,.6);padding-bottom:1px}
html[data-tms-home] .tms-creator-dark .tms-creator-invite{gap:20px;padding-top:18px}
html[data-tms-home] .tms-creator-dark .tms-invite-text{font:400 15px/1.5 Baskerville,"Baskerville Old Face",Georgia,serif;color:#d9e1de}
html[data-tms-home] .tms-creator-dark .tms-invite-link{background:#e8c06a;color:#142e30!important;border-radius:999px;padding:10px 18px;font:600 15px/1 Baskerville,"Baskerville Old Face",Georgia,serif}
html[data-tms-home] .tms-creator-dark .tms-invite-link:hover{background:#f3d48a}
html[data-tms-home] .tms-creator-dark .tms-qr img{border-radius:8px}
html[data-tms-home] .tms-creator-dark .tms-parts-hint{font:italic 14px Baskerville,Georgia,serif;color:#d9e1de}
html[data-tms-home] .tms-creator-dark .tms-part{font:600 13px Baskerville,Georgia,serif;border-radius:999px;padding:6px 12px}
html[data-tms-home] .tms-creator-dark .tms-part.on{background:#e8c06a;border-color:#e8c06a;color:#142e30}
/* The Ear Lab band beside it, in the same type (owner, 2026-10-11). */
html[data-tms-home] .tms-ear-k{font:600 12px/1 Baskerville,"Baskerville Old Face",Georgia,serif!important;letter-spacing:.24em!important}
html[data-tms-home] .tms-ear-t h2{font-family:"Big Caslon",Baskerville,Georgia,serif!important;font-weight:400!important}
html[data-tms-home] .tms-ear-t h2 em{font-family:Baskerville,"Baskerville Old Face",Georgia,serif!important;font-style:italic}
html[data-tms-home] .tms-ear-t p:not(.tms-ear-k){font:400 17px/1.6 Baskerville,"Baskerville Old Face",Georgia,serif!important;color:#d9e1de!important}
html[data-tms-home] .tms-ear-go{font-family:Baskerville,"Baskerville Old Face",Georgia,serif!important;font-weight:600!important;font-size:16px!important}

/* "Measured to the millisecond", smaller and cosier (owner, 2026-10-11), on light paper so it stands apart from the dark Ear Lab
   band above it. The instrument keeps its dark face, smaller, like a fine meter resting on paper. Home page only. */
html[data-tms-home] .pr{background:#f3efe6;color:#0b1a1b;padding:52px 0 56px;border-top:1px solid #e0d9c8}
html[data-tms-home] .pr-in{gap:26px;max-width:1060px}
html[data-tms-home] .pr-k{font:600 12px/1 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.24em;color:#7a5418}
html[data-tms-home] .pr-text h2{font:400 clamp(34px,3.4vw,46px)/1.05 "Big Caslon",Baskerville,Georgia,serif;color:#0b1a1b}
html[data-tms-home] .pr-lead{font:400 17px/1.6 Baskerville,"Baskerville Old Face",Georgia,serif;color:#1c2f2d}
html[data-tms-home] .pr-proof{gap:18px}
html[data-tms-home] .pr-proof b{font:400 clamp(28px,2.6vw,36px)/1 "Big Caslon",Baskerville,Georgia,serif;color:#0b4a46}
html[data-tms-home] .pr-proof span{font:400 14.5px/1.45 Baskerville,"Baskerville Old Face",Georgia,serif;color:#2c4442}
html[data-tms-home] .pr-small{font:italic 400 14px Baskerville,Georgia,serif;color:#0b4a46}
html[data-tms-home] .pr-panel{max-width:940px;width:100%;margin:0 auto;padding:18px 22px 14px;border-radius:22px;background:linear-gradient(180deg,#163334,#0f2526);border:1px solid rgba(232,192,106,.28);box-shadow:0 18px 44px rgba(20,46,48,.22)}
html[data-tms-home] .pr-play{width:56px;height:56px;box-shadow:0 0 0 6px rgba(232,192,106,.12)}
html[data-tms-home] .pr-play svg{width:22px;height:22px}
html[data-tms-home] .pr-top b{font:400 22px "Big Caslon",Baskerville,Georgia,serif}
html[data-tms-home] .pr-top span{font:400 13.5px Baskerville,Georgia,serif}
html[data-tms-home] .pr-mini b{font-size:24px}
html[data-tms-home] .pr-meters{gap:20px;margin-top:12px}
html[data-tms-home] .pr-strip{margin-top:10px}
html[data-tms-home] .pr-bring{box-shadow:0 14px 34px rgba(20,46,48,.16)}
html[data-tms-home] .pr-bring b{font-family:"Big Caslon",Baskerville,Georgia,serif}
html[data-tms-home] .pr-bring span:not(.pr-bring-k){font-family:Baskerville,"Baskerville Old Face",Georgia,serif}
html[data-tms-home] .pr-bring-k,html[data-tms-home] .pr-bring i{font-family:Baskerville,"Baskerville Old Face",Georgia,serif;font-weight:600}
html[data-tms-home] .pr-bring{display:none}   /* owner, 2026-10-11: the gold card goes; StemLab still offers 'Your playing, measured' */
/* Exam cards end to end (owner, 2026-10-11): the row count follows the number of exams, so no row is left short. */
@media (min-width:1101px){html[data-tms-home] .tms-exams-row{grid-template-columns:repeat(var(--tms-exam-cols,5),minmax(0,1fr))}}

/* Reading sizes (owner, 2026-10-11: "these texts are microscopic"). Baskerville is small for its point size, so it is set
   larger than a sans would be: paragraphs 19-20 px, captions 17-18 px, small labels 13 px. */
html[data-tms-home] .hero-deck{font-size:20px!important;line-height:1.6!important}
html[data-tms-home] .pr-k,html[data-tms-home] .tms-ear-k,html[data-tms-home] .tms-creator-dark .tms-kicker,html[data-tms-home] .tms-first-k{font-size:13px!important}
html[data-tms-home] .pr-lead{font-size:20px;line-height:1.6}
html[data-tms-home] .pr-proof b{font-size:clamp(34px,3vw,42px)}
html[data-tms-home] .pr-proof span{font-size:17.5px;line-height:1.5;color:#1c2f2d}
html[data-tms-home] .pr-small{font-size:16.5px}
html[data-tms-home] .tms-ear-t p:not(.tms-ear-k){font-size:19px!important}
html[data-tms-home] .tms-ear-go{font-size:17px!important}
html[data-tms-home] .tms-creator-dark .tms-song-by,html[data-tms-home] .tms-creator-dark .tms-song-by span{font-size:17px}
html[data-tms-home] .tms-creator-dark .tms-song-by small{font-size:12.5px}
html[data-tms-home] .tms-creator-dark .tms-song-time{font-size:13.5px}
html[data-tms-home] .tms-creator-dark .tms-parts-toggle{font-size:16px}
html[data-tms-home] .tms-creator-dark .tms-invite-text{font-size:17px}
html[data-tms-home] .tms-creator-dark .tms-invite-link{font-size:16.5px}
html[data-tms-home] .tms-creator-dark .tms-qr figcaption{font-size:13px}
html[data-tms-home] .tms-first-q{font-size:21px}
html[data-tms-home] .tms-first button{font-size:17px}
html[data-tms-home] .tms-first-out{font-size:18px}
html[data-tms-home] .tms-fs-more a{font-size:16.5px}
html[data-tms-home] .art-caption .tms-gk{font-size:19px}
html[data-tms-home] .score-art .tms-gk-say{font-size:15px}
html[data-tms-home] .art-bottom .tms-gk-gloss{font-size:16px}
html[data-tms-home] .pr-go-home{margin-top:20px;padding:12px 22px;border:0;border-radius:999px;background:#0b4a46;color:#fff8e6;font:600 17px/1 Baskerville,"Baskerville Old Face",Georgia,serif}
html[data-tms-home] .pr-go-home:hover{background:#0f5e58}

/* Exam Prep by board (owner, 2026-10-11): one card per board, its papers as buttons. Five across on wide screens; on tablets
   ABRSM spans the row and the other four sit two by two; one column on phones. No row is left short. */
html[data-tms-home] .tms-exams-head h2{font-family:"Big Caslon",Baskerville,Georgia,serif;font-weight:400}
html[data-tms-home] .tms-exams-head p{font:400 19px/1.55 Baskerville,"Baskerville Old Face",Georgia,serif;color:#d9e1de}
html[data-tms-home] .tms-exams-head a{font:600 16px Baskerville,"Baskerville Old Face",Georgia,serif}
.tms-boards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
@media (max-width:1100px){.tms-boards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.tms-boards{grid-template-columns:1fr}}
.tms-boards li{opacity:0;transform:translateY(14px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i) * 90ms)}
.tms-exams.in .tms-boards li{opacity:1;transform:none}
.tms-board{display:flex;flex-direction:column;gap:12px;height:100%;padding:22px 20px 20px;border:1px solid rgba(225,196,143,.3);border-radius:16px;background:linear-gradient(170deg,rgba(255,255,255,.07),rgba(255,255,255,.025));box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.tms-board-k{margin:0;font:600 12.5px/1.35 Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:.14em;text-transform:uppercase;color:#e1c48f}
.tms-board h3{margin:0;font:400 30px/1.08 "Big Caslon",Baskerville,Georgia,serif;color:#fbf8ef;text-wrap:balance}
.tms-board-line{margin:0;font:400 16.5px/1.5 Baskerville,"Baskerville Old Face",Georgia,serif;color:#d1ddd8}
.tms-fam{display:grid;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid rgba(225,196,143,.18)}
.tms-fam + .tms-fam{margin-top:0}
.tms-fam-name{margin:0;display:flex;justify-content:space-between;align-items:baseline;gap:8px;font:600 15px/1.2 Baskerville,"Baskerville Old Face",Georgia,serif;color:#fbf8ef}
.tms-fam-name span{font:italic 400 14px Baskerville,Georgia,serif;color:#b9cbc5}
.tms-chips{display:flex;flex-wrap:wrap;gap:8px}
.tms-chip{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 14px;border:1px solid rgba(225,196,143,.55);border-radius:999px;color:#fbf8ef;text-decoration:none;font:600 16px/1 Baskerville,"Baskerville Old Face",Georgia,serif;transition:background .2s,color .2s,border-color .2s}
.tms-chip:hover{background:#e1c48f;border-color:#e1c48f;color:#153c3e}
.tms-chip:focus-visible{outline:2px solid #e1c48f;outline-offset:3px}
html[data-tms-home] .tms-exams-note{font:400 14px/1.6 Baskerville,"Baskerville Old Face",Georgia,serif;color:#aac0b9}
@media (prefers-reduced-motion:reduce){.tms-boards li{transform:none;transition:opacity .9s ease;transition-delay:calc(var(--i) * 120ms)}}
.tms-nb{white-space:nowrap}
.tms-chips{gap:6px}
.tms-chip{min-width:36px;height:36px;padding:0 11px;font-size:15.5px}
/* Footer rows (owner, 2026-10-11): same colours and spacing; links in the bottom row, contact on the right of the top row. */
html[data-tms-home] .footer-sub{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
html[data-tms-home] .tms-foot-links a,html[data-tms-home] .footer-sub > a,html[data-tms-home] .tms-contact a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(20,46,48,.3)}
html[data-tms-home] .tms-foot-links a:hover,html[data-tms-home] .footer-sub > a:hover,html[data-tms-home] .tms-contact a:hover{border-bottom-color:currentColor}
html[data-tms-home] .tms-contact{font-size:14px;white-space:nowrap}
html[data-tms-home] .footer-sub{font:400 15px/1.5 Baskerville,"Baskerville Old Face",Georgia,serif!important;color:#1c2f2d}
html[data-tms-home] .tms-foot-links{font-size:15.5px}
html[data-tms-home] .footer-inner p,html[data-tms-home] .tms-contact{font:400 16px/1.5 Baskerville,"Baskerville Old Face",Georgia,serif!important}

/* Rosan's own slim band (owner, 2026-10-11): the dark of the Ear Lab band continues, a thin gold line opens it, and the song and
   the private sessions sit side by side with a gold rule between them. No box, no shadow. */
html[data-tms-home] .tms-rosan-band{background:linear-gradient(180deg,#0e2223,#0b1b1c);color:#f3ead4;padding:0 0 46px}
html[data-tms-home] .tms-creator.tms-creator-flat{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 48px;align-items:start;padding:34px 0 0;margin:0;border:0;border-top:1px solid rgba(232,192,106,.32);border-radius:0;background:none;box-shadow:none}
html[data-tms-home] .tms-creator-flat .tms-creator-invite{border:0;border-left:1px solid rgba(232,192,106,.32);padding:0 0 0 40px;align-self:stretch}
@media (max-width:900px){html[data-tms-home] .tms-creator.tms-creator-flat{grid-template-columns:1fr;gap:26px}html[data-tms-home] .tms-creator-flat .tms-creator-invite{border-left:0;border-top:1px solid rgba(232,192,106,.32);padding:22px 0 0}}
html[data-tms-home] .tms-ear{padding-bottom:46px}
/* The Ear Lab band on its own (2026-10-11): the dial and its words centred together, so no side is left empty. */
@media (min-width:761px){html[data-tms-home] .tms-ear-in{display:grid;grid-template-columns:auto minmax(0,640px)!important;justify-content:center;align-items:center;column-gap:64px}}
.cw-meter{font:italic 400 8px Georgia,serif;letter-spacing:0}

/* The chosen chord in the arrangement question (owner, 2026-10-12): the card itself shows right or not. */
html[data-tms-home] .arrangement-chord.tms-pick-ok{border-color:#23584f!important;background:#e3efe9!important;box-shadow:inset 0 0 0 1px #23584f}
html[data-tms-home] .arrangement-chord.tms-pick-no{border-color:#b5832f!important;background:#f6eedd!important}
/* The piano at the front (2026-10-13): a warm light band before the Ear Lab; the full grand, lit by the piece. */
.tms-gp{background:linear-gradient(180deg,#f6efe0 0,#efe5cf 100%);color:#1d2a2b;padding:56px 0 48px;border-top:1px solid rgba(20,46,48,.08)}
.tms-gp-k{margin:0 0 12px;font:700 11px/1 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#9a6e22}
.tms-gp h2{margin:0;font:400 clamp(30px,3.6vw,44px)/1.1 Georgia,serif;color:#142e30}.tms-gp h2 em{display:block;margin-top:10px;font:italic 400 clamp(18px,1.8vw,22px)/1.35 Georgia,serif;color:#8a6420}
.tms-gp-t p:not(.tms-gp-k){max-width:64ch;margin:14px 0 0;font:400 16px/1.6 Arial,sans-serif;color:#3d4b4c}
.tms-gp-case{padding:14px 14px 12px;border-radius:14px;background:linear-gradient(180deg,#1a1512,#0e0b09);box-shadow:0 18px 40px -22px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06)}
.tms-gp-keys{display:block;width:100%;height:clamp(90px,13vw,170px)}
.tms-gp-w{fill:#fbf7ee;stroke:#2a221c;stroke-width:.35;transition:fill .18s ease}
.tms-gp-b{fill:#141110;stroke:#000;stroke-width:.3;transition:fill .18s ease}
.tms-gp-w.on-r{fill:#efcb7a}.tms-gp-b.on-r{fill:#c99a3c}
.tms-gp-w.on-l{fill:#9fc7c2}.tms-gp-b.on-l{fill:#3f7f79}
.tms-gp-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:22px}
.tms-gp-pick{display:inline-flex;align-items:center;gap:10px;font:700 12px/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5b6767}
.tms-gp-pick select{min-height:44px;padding:0 12px;border:1px solid rgba(20,46,48,.25);border-radius:10px;background:#fffaf0;color:#142e30;font:400 15px/1 Arial,sans-serif;text-transform:none;letter-spacing:0}
.tms-gp-go{min-width:120px;min-height:48px;padding:0 28px;border:0;border-radius:999px;background:linear-gradient(180deg,#b58a45,#9a6e22);color:#fffaf0;font:700 15px/1 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.tms-gp-go:hover{background:linear-gradient(180deg,#a87d39,#86601c)}.tms-gp-stop{background:transparent;cursor:pointer}.tms-gp-stop[hidden]{display:none}
.tms-gp-ln{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 22px;border:1px solid rgba(20,46,48,.3);border-radius:999px;color:#142e30;font:700 15px/1 Arial,sans-serif;text-decoration:none}
.tms-gp-ln:hover{border-color:#9a6e22;color:#7a5418}
.tms-gp-go:focus-visible,.tms-gp-ln:focus-visible,.tms-gp-pick select:focus-visible{outline:2px solid #9a6e22;outline-offset:3px}
.tms-gp-note{margin:16px 0 0;font:400 14px/1.5 Arial,sans-serif;color:#5b6767}
@media (max-width:760px){.tms-gp{padding:40px 0 36px}.tms-gp-case{padding:8px;border-radius:10px}.tms-gp-keys{height:84px}.tms-gp-row>*{flex:1 1 100%;justify-content:center}.tms-gp-pick select{flex:1}}
@media (prefers-reduced-motion:reduce){.tms-gp-w,.tms-gp-b{transition:none}}
.tms-gp-keys rect{cursor:pointer;touch-action:manipulation}.tms-gp-w.tap{fill:#f3d999}.tms-gp-b.tap{fill:#8a6a2a}
.tms-gp-t{margin-bottom:26px}
.tms-gp-how{margin-top:6px;font:400 14px/1.5 Arial,sans-serif;color:#3d4b4c}
.tms-gp-how summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;font:italic 400 16px/1 Georgia,serif;color:#7a5418}
.tms-gp-how summary::-webkit-details-marker{display:none}
.tms-gp-how summary:after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.tms-gp-how[open] summary:after{transform:translateY(2px) rotate(-135deg)}
.tms-gp-how summary:focus-visible{outline:2px solid #9a6e22;outline-offset:3px}
.tms-gp-how-in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:6px}
.tms-gp-how-in>div{padding:6px 28px 4px;border-left:1px solid rgba(154,110,34,.28)}.tms-gp-how-in>div:first-child{padding-left:0;border-left:0}
.tms-gp-how svg{width:30px;height:30px;fill:none;stroke:#9a6e22;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.tms-gp-how svg .k{stroke-width:2.6;stroke:#142e30}
.tms-gp-how h3{margin:8px 0 4px;font:400 19px/1.2 Georgia,serif;color:#142e30}.tms-gp-how-in p{margin:0;max-width:30ch}
.tms-gp-how .tms-gp-fine{grid-column:1/-1;max-width:none;margin-top:16px;font-size:12px;color:#6b7676}
@media (max-width:760px){.tms-gp-how-in{grid-template-columns:1fr;gap:14px}.tms-gp-how-in>div{padding:0;border-left:0}}
/* The moving banner at the very top (2026-10-13, third design: owner "I want to watch these banners"): a night-teal
   panel within the page margins; a living gold scene fills it edge to edge; the wish sits over the scene's quiet left
   side in two or three lines; gold dust drifts; a gold hairline runs to the next wish. */
.tms-bn{margin-top:26px}
.tms-bn-frame{position:relative;min-height:420px;display:flex;align-items:flex-end;padding:40px clamp(30px,4.6vw,68px) 78px;overflow:hidden;color:#fbf3df;
  background:radial-gradient(70% 120% at 72% 45%,#1f5251 0,#143a3b 42%,#0c2526 78%,#091c1d 100%);border:1px solid #0b2324;box-shadow:0 24px 60px -34px rgba(8,28,29,.7)}
.tms-bn-frame:before,.tms-bn-frame:after{content:'';position:absolute;pointer-events:none;inset:10px;border:1px solid rgba(226,192,122,.18);z-index:3}.tms-bn-frame:after{inset:16px;border-color:rgba(226,192,122,.07)}
.tms-bn-art{position:absolute;z-index:0;top:0;bottom:auto;left:0;right:0;width:100%;height:100%;overflow:visible;fill:none;transition:opacity 1s ease,transform 1s ease}
.tms-bn-dust,.tms-bn-amb{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.tms-bn-amb path{fill:none;stroke:rgba(226,192,122,.13);stroke-width:1;vector-effect:non-scaling-stroke}
.tms-bn-frame>.tms-bn-in{position:relative;z-index:2;width:min(1000px,80%);transition:opacity .9s ease,transform .9s ease}
.tms-bn-frame>.tms-bn-in:before{content:'';position:absolute;z-index:-1;inset:-70px -120px -90px -200px;background:radial-gradient(closest-side,rgba(9,28,29,.72),rgba(9,28,29,0));pointer-events:none}
.tms-bn.out .tms-bn-in{opacity:0;transform:translateY(-8px)}.tms-bn.out .tms-bn-art{opacity:0;transform:scale(.985)}
.tms-bn-tag{display:flex;align-items:center;gap:12px;margin:0 0 14px;font:700 11px/1 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#d8b46e}
.tms-bn-rule{display:inline-block;width:30px;height:1px;background:#d8b46e}
.tms-bn-slide{display:block;color:inherit;text-decoration:none}
.tms-bn-msg{margin:0;font:400 clamp(22px,2.3vw,33px)/1.22 "Big Caslon",Baskerville,"Baskerville Old Face",Georgia,serif;letter-spacing:-.01em;color:#fbf3df;text-wrap:balance;text-shadow:0 2px 18px rgba(6,20,21,.6)}
.tms-bn-msg span{display:inline-block;opacity:0;transform:translateY(.3em);filter:blur(3px);animation:tms-bn-w 1.4s cubic-bezier(.2,.7,.2,1) forwards;animation-delay:calc(var(--w) * 70ms + 300ms)}
a.tms-bn-slide[href]:hover .tms-bn-msg{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px;text-decoration-color:rgba(226,192,122,.6)}
a.tms-bn-slide:not([href]){cursor:default}
.tms-bn-slide:focus-visible,.tms-bn-c:focus-visible{outline:2px solid #e2c07a;outline-offset:4px}
.tms-bn-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;min-height:22px;margin:14px 0 0}
.tms-bn-hint{font:700 12px/1 Arial,sans-serif;letter-spacing:.06em;color:#e2c07a}.tms-bn-hint[hidden]{display:none}
.tms-bn-soon{padding:5px 12px;border:1px solid rgba(226,192,122,.55);border-radius:999px;font:700 10px/1.3 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#e2c07a}.tms-bn-soon[hidden]{display:none}
@keyframes tms-bn-w{to{opacity:1;transform:none;filter:none}}
/* The scenes: gold light on night teal. */
.tms-bn-art{--g:#e2c07a;--g2:rgba(226,192,122,.42);--g3:rgba(226,192,122,.16);filter:drop-shadow(0 0 7px rgba(226,192,122,.35))}
.tms-bn-art *{vector-effect:non-scaling-stroke}
.sc-keys .kw{fill:rgba(251,243,223,.05);stroke:var(--g2);stroke-width:1.1}.sc-keys .kb{fill:#0a1f20;stroke:var(--g2);stroke-width:1}
.sc-keys .kp{fill:var(--g);opacity:0;animation:tms-kp 10.8s infinite;animation-delay:var(--t)}
.sc-keys .kn{fill:var(--g);stroke:var(--g);stroke-width:2;opacity:0;animation:tms-kn 10.8s infinite;animation-delay:var(--t)}
@keyframes tms-kp{0%,9%{opacity:.85}22%,100%{opacity:0}}
@keyframes tms-kn{0%{opacity:0;transform:translateY(10px)}6%{opacity:1}45%{opacity:0;transform:translateY(-110px)}100%{opacity:0;transform:translateY(-110px)}}
.sc-staff .ln{stroke:var(--g2);stroke-width:1.2}
.sc-staff .nt{fill:var(--g);stroke:var(--g);stroke-width:2;opacity:.45;transform-box:fill-box;transform-origin:center;animation:tms-nt 9s infinite;animation-delay:var(--t)}
@keyframes tms-nt{0%{opacity:1;transform:scale(1.25)}14%{opacity:.85;transform:none}60%,100%{opacity:.4}}
.sc-staff .ph{fill:var(--g);opacity:.85;animation:tms-ph 9s linear infinite}
@keyframes tms-ph{from{transform:translateX(40px)}to{transform:translateX(560px)}}
.sc-wave .wv{stroke:var(--g);stroke-width:2}.sc-wave .wv2{stroke:var(--g3);stroke-width:1.3}
.sc-wave .sb{fill:var(--g2);transform-box:fill-box;transform-origin:bottom;animation:tms-sb 3.4s ease-in-out infinite alternate;animation-delay:calc(var(--t) * -1)}
@keyframes tms-sb{from{transform:scaleY(.12)}to{transform:scaleY(var(--h))}}
.sc-wave .tk{stroke:var(--g2);stroke-width:1}.sc-wave .cur{fill:var(--g);animation:tms-ph 12s linear infinite}
.sc-rings circle{transform-box:view-box;transform-origin:300px 190px}
.sc-rings .r1{stroke:var(--g3);stroke-width:1;stroke-dasharray:2 7;animation:tms-rot 120s linear infinite}
.sc-rings .r2{stroke:var(--g2);stroke-width:1.2}.sc-rings .r3{stroke:var(--g3);stroke-width:1;stroke-dasharray:14 10;animation:tms-rot 90s linear infinite reverse}
.sc-rings .r4{stroke:var(--g2);stroke-width:1}
.sc-rings .orb{transform-box:view-box;transform-origin:300px 190px;animation:tms-rot 60s linear infinite}.sc-rings .od{fill:var(--g2)}.sc-rings .od.hot{fill:var(--g)}
.sc-rings .rp,.sc-str .rp{stroke:var(--g);stroke-width:1.2}.sc-rings .core{fill:var(--g);animation:tms-pulse 4.5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes tms-rot{to{transform:rotate(360deg)}}
@keyframes tms-pulse{50%{transform:scale(1.35);opacity:.7}}
.sc-str .gd{stroke:var(--g2);stroke-width:1.4;fill:rgba(226,192,122,.05)}.sc-str .gi{stroke:var(--g3);stroke-width:1}.sc-str .nk{stroke:var(--g2);stroke-width:1.2}
.sc-str .st{stroke:var(--g);stroke-width:1.1}.sc-str .pg{fill:var(--g)}
.sc-con .base{stroke:var(--g3);stroke-width:1;stroke-dasharray:3 6}
.sc-con .trail{stroke:var(--g3);stroke-width:5;stroke-linecap:round}
.sc-con .melo{stroke:var(--g);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:tms-melo 11s cubic-bezier(.45,0,.55,1) infinite}
@keyframes tms-melo{0%{stroke-dashoffset:1;opacity:1}70%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
.sc-con .spark{fill:#fff3d0;filter:drop-shadow(0 0 8px #e2c07a)}
.sc-con .pt{fill:var(--g);opacity:.3;transform-box:fill-box;transform-origin:center;animation:tms-nt 11s infinite;animation-delay:var(--t)}
.sc-seal circle{transform-box:view-box;transform-origin:300px 190px}
.sc-seal .o1{stroke:var(--g2);stroke-width:1.2;stroke-dasharray:1 6;stroke-linecap:round;animation:tms-rot 110s linear infinite}.sc-seal .o2{stroke:var(--g2);stroke-width:1}
.sc-seal .lf{fill:var(--g2);opacity:0;animation:tms-lf .6s ease forwards;animation-delay:var(--t)}
@keyframes tms-lf{to{opacity:1;fill:var(--g)}}
.sc-seal .ck{stroke:var(--g);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:tms-ck 8s ease infinite 1.5s}
@keyframes tms-ck{0%{stroke-dashoffset:1}30%,85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
.sc-seal .gl{fill:rgba(226,192,122,.06);animation:tms-pulse 7s ease-in-out infinite}
.tms-bn-dust .du{fill:#f0d9a4;opacity:0;animation:tms-du var(--d) linear infinite;animation-delay:calc(var(--t) * -1)}
@keyframes tms-du{0%{opacity:0;transform:translateY(0)}20%{opacity:.55}80%{opacity:.35}100%{opacity:0;transform:translateY(-120px)}}
.tms-bn.away .tms-bn-frame *,.tms-bn.away .tms-bn-frame *:before{animation-play-state:paused!important}
/* Controls and the hairline. */
.tms-bn-bar{position:absolute;z-index:4;right:clamp(30px,4.6vw,68px);bottom:26px;display:flex;gap:8px}
.tms-bn-c{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid rgba(226,192,122,.35);border-radius:50%;background:rgba(9,28,29,.45);cursor:pointer;transition:background .2s,border-color .2s}
.tms-bn-c:hover{background:rgba(226,192,122,.14);border-color:#e2c07a}
.tms-bn-c svg{width:14px;height:14px;fill:none;stroke:#f0d9a4;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tms-bn-c .pl{display:none;fill:#f0d9a4;stroke:none}.tms-bn-c.stopped .pl{display:block}.tms-bn-c.stopped .pz{display:none}
.tms-bn-prog{position:absolute;z-index:4;left:clamp(30px,4.6vw,68px);bottom:44px;width:min(200px,26%);height:1px;background:rgba(226,192,122,.18)}
.tms-bn-prog i{display:block;height:100%;width:100%;background:#e2c07a;transform-origin:left;transform:scaleX(0);animation:tms-bn-p 14s linear forwards}
.tms-bn.held .tms-bn-prog i{animation-play-state:paused}
@keyframes tms-bn-p{to{transform:scaleX(1)}}
/* Compact layout (owner, 2026-10-13: "compact, no dead space, measure"): the wish on a dark panel at the left, the
   scene fitted to its own drawing at the right, the gold staff and dust across both. */
.tms-bn-frame{min-height:0;height:clamp(196px,15.5vw,224px);display:grid;grid-template-columns:minmax(0,54%) minmax(0,1fr);grid-template-rows:100%;align-items:stretch;padding:0}
.tms-bn-frame>.tms-bn-in{width:auto;display:flex;flex-direction:column;justify-content:center;padding:26px 30px 46px clamp(30px,3.6vw,52px);background:linear-gradient(90deg,#061516 0,#071819 72%,rgba(7,24,25,0) 100%)}
.tms-bn-frame>.tms-bn-in:before{display:none}
.tms-bn-art{position:relative;top:auto;left:auto;width:100%;height:calc(100% - 44px);min-height:0;max-height:none;margin-top:12px}
.tms-bn-msg{font-size:clamp(19px,1.8vw,25px);line-height:1.24}
.tms-bn-tag{margin:0 0 12px}.tms-bn-foot{margin:12px 0 0;min-height:18px}
.tms-bn-prog{left:clamp(30px,3.6vw,52px);bottom:22px;width:150px}
.tms-bn-bar{right:22px;bottom:12px}.tms-bn-c{width:30px;height:30px}
@media (max-width:760px){.tms-bn{margin-top:16px}.tms-bn-frame{height:auto;grid-template-columns:1fr;grid-template-rows:150px auto}
  .tms-bn-art{grid-row:1;height:130px;margin-top:12px}.tms-bn-frame>.tms-bn-in{grid-row:2;padding:18px 22px 58px;background:linear-gradient(180deg,rgba(7,24,25,0) 0,#071819 18px)}
  .tms-bn-msg{font-size:clamp(21px,5.8vw,26px)}.tms-bn-bar{right:20px;bottom:14px}.tms-bn-prog{left:22px;bottom:28px;width:40%}}
/* Wide scenes, borders and arrival (2026-10-13 beauty pass). */
.sc-rings .arc{stroke:var(--g);stroke-width:1.3;stroke-linecap:round;opacity:.12;animation:tms-arc 6s ease-in-out infinite;animation-delay:var(--t)}
@keyframes tms-arc{0%{opacity:.12}12%{opacity:.85}45%,100%{opacity:.12}}
.sc-seal .br{stroke:var(--g2);stroke-width:1.3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:tms-bn-d 2.4s cubic-bezier(.45,0,.2,1) forwards .2s}
.tms-bn-frame{border-radius:6px;border-color:#081c1d}
.tms-bn-frame:before{inset:8px;border-radius:3px;border-color:rgba(226,192,122,.2)}.tms-bn-frame:after{display:none}
.tms-bn-tag{opacity:0;animation:tms-bn-tag 1s ease forwards .15s}
@keyframes tms-bn-tag{to{opacity:1}}
.tms-bn-rule{transform-origin:left;transform:scaleX(0);animation:tms-bn-rule 1.1s cubic-bezier(.2,.7,.2,1) forwards .1s}
@keyframes tms-bn-rule{to{transform:none}}
.tms-bn-hint,.tms-bn-soon{opacity:0;animation:tms-bn-tag 1s ease forwards 1.6s}
.tms-bn-art{animation:tms-bn-art 1.6s ease forwards}
@keyframes tms-bn-art{from{opacity:0}to{opacity:1}}
.tms-bn.reset .tms-bn-tag,.tms-bn.reset .tms-bn-rule,.tms-bn.reset .tms-bn-hint,.tms-bn.reset .tms-bn-soon,.tms-bn.reset .tms-bn-art{animation:none}
/* Exam boards (owner, 2026-10-13): two rows of three, smaller, each card clearly framed and calm; they arrive one by one,
   their gold top line drawing across. */
.tms-boards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1080px}
.tms-boards li{transition-duration:.9s;transition-delay:calc(var(--i) * 120ms)}
.tms-board{position:relative;gap:8px;padding:18px 18px 16px;border:1px solid rgba(225,196,143,.24);border-radius:12px;background:rgba(251,248,239,.035);box-shadow:none;transition:border-color .3s,background .3s,transform .3s}
.tms-board:before{content:'';position:absolute;left:18px;right:18px;top:0;height:1px;background:linear-gradient(90deg,#e1c48f,rgba(225,196,143,0));transform:scaleX(0);transform-origin:left;transition:transform 1.1s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i) * 120ms + 350ms)}
.tms-exams.in .tms-board:before{transform:none}
.tms-board:hover{border-color:rgba(225,196,143,.5);background:rgba(251,248,239,.06);transform:translateY(-2px)}
.tms-board-k{font-size:10px;letter-spacing:.14em;color:#d8bd8a}
.tms-board h3{font-size:clamp(20px,1.6vw,23px)}
.tms-board-line{font-size:14px;line-height:1.45;color:#c9d6d1}
.tms-fam{gap:7px;padding-top:10px;border-top-color:rgba(225,196,143,.14)}
.tms-fam-name{font-size:13.5px}.tms-fam-name span{font-size:12.5px}
.tms-chip{min-width:30px;height:30px;padding:0 10px;font-size:13.5px;border-color:rgba(225,196,143,.42)}
@media (max-width:1100px){.tms-boards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.tms-boards{grid-template-columns:1fr}}

.tms-fams{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;justify-content:space-between;gap:18px;margin-top:auto}.tms-fams .tms-fam{margin-top:0}
/* Dark panels: ivory and gold text only, no grey (owner, 2026-10-13). */
.tms-ear-t p:not(.tms-ear-k){color:#f3ead4!important}
.tms-board-line{color:#f3ead4!important}.tms-fam-name span{color:#e1c48f!important}
.tms-exams-head p{color:#f3ead4!important}.tms-exams-note{color:#e9dcc0!important}
.tms-creator-dark .tms-song-by,.tms-creator-dark .tms-song-by span,.tms-creator-dark .tms-song-time,.tms-creator-dark .tms-invite-text,.tms-creator-dark .tms-qr figcaption,.tms-creator-dark .tms-parts-hint{color:#f3ead4!important}
section.closing p:not(.eyebrow){color:#f3ead4!important}

/* "Explore" is a link of its own (owner, 2026-10-13: the Explore words were not linked). */
a.tms-bn-hint{text-decoration:none;cursor:pointer;padding:4px 0}a.tms-bn-hint:hover{text-decoration:underline;text-underline-offset:4px}a.tms-bn-hint:focus-visible{outline:2px solid #e2c07a;outline-offset:3px}
/* The opening at night (owner, 2026-10-13: "Night stage"): one night-teal panel under the banner, the melody drawn in gold,
   ivory title, gold accents. Same panel as the banner and the other front pages; no grey text on the dark (owner's rule). */
html[data-tms-home] body section.hero{position:relative;margin-top:16px!important;padding:clamp(18px,2.4vw,34px) clamp(22px,3vw,44px)!important;border-radius:10px;overflow:hidden;
  background:radial-gradient(85% 95% at 30% 25%,#1f5251 0,#143a3b 50%,#0b2223 100%);box-shadow:0 30px 70px -40px rgba(8,28,29,.8)}
html[data-tms-home] body section.hero:before{content:'';position:absolute;inset:9px;border:1px solid rgba(226,192,122,.2);border-radius:6px;pointer-events:none}
html[data-tms-home] body section.hero .eyebrow{color:#e9cf96!important}
html[data-tms-home] body section.hero .eyebrow-rule{background:#e2c07a!important}
html[data-tms-home] body section.hero h1{color:#fff8e6!important;-webkit-text-fill-color:#fff8e6!important}
html[data-tms-home] body section.hero .tms-hero-sub{color:#e2c07a!important;-webkit-text-fill-color:#e2c07a!important}
html[data-tms-home] body section.hero .hero-deck{color:#fbf3df!important}
html[data-tms-home] body section.hero .hero-actions .button-dark{background:#e2c07a!important;color:#0d2526!important;border-color:#e2c07a!important}
html[data-tms-home] body section.hero .hero-actions .button-dark:hover{background:#efd398!important}
html[data-tms-home] body section.hero .hero-actions .text-link{color:#f0d9a4!important;border-color:rgba(226,192,122,.55)!important;text-decoration-color:rgba(226,192,122,.55)!important}
/* Try your ear: a quiet glass card inside the panel. */
html[data-tms-home] body section.hero .tms-first{background:rgba(251,243,223,.05)!important;border-color:rgba(226,192,122,.32)!important}
html[data-tms-home] body section.hero .tms-first-k{color:#e9cf96!important}
html[data-tms-home] body section.hero .tms-first-q,html[data-tms-home] body section.hero .tms-first-q *,html[data-tms-home] body section.hero .tms-first-out,html[data-tms-home] body section.hero .tms-first-out *{color:#fbf3df!important}
html[data-tms-home] body section.hero .tms-first-out{border-top-color:rgba(226,192,122,.25)!important}
html[data-tms-home] body section.hero .tms-first button{background:transparent!important;color:#f0d9a4!important;border:1px solid rgba(226,192,122,.55)!important}
html[data-tms-home] body section.hero .tms-first button:hover{background:rgba(226,192,122,.12)!important}
html[data-tms-home] body section.hero .tms-first a{color:#e2c07a!important}
html[data-tms-home] body section.hero .tms-first-staves svg{filter:invert(1) sepia(.5) hue-rotate(5deg) saturate(1.4) brightness(1.1)}
/* The melody frame: the same drawing, lit in gold. */
html[data-tms-home] body section.hero .hero-art{background:radial-gradient(70% 70% at 50% 52%,rgba(226,192,122,.09),rgba(226,192,122,0) 70%)!important;border:1px solid rgba(226,192,122,.28)!important;box-shadow:none!important}
html[data-tms-home] body section.hero .hero-art .art-caption,html[data-tms-home] body section.hero .hero-art .tms-gk,html[data-tms-home] body section.hero .tms-gk-gloss{color:#e9cf96!important}
html[data-tms-home] body section.hero .tms-gk-word{color:#fff8e6!important}
html[data-tms-home] body section.hero .score-art .art-lines,html[data-tms-home] body section.hero .score-art .art-lines path{stroke:rgba(226,192,122,.45)!important}
html[data-tms-home] body section.hero .score-art path[stroke^="url"]{stroke:rgba(226,192,122,.5)!important}
html[data-tms-home] body section.hero .score-art .hero-note,html[data-tms-home] body section.hero .score-art .hero-note-head{fill:#e9cf96!important}
html[data-tms-home] body section.hero .score-art .hero-note-stem{stroke:#e9cf96!important;fill:none!important}
html[data-tms-home] body section.hero #hero-score-notes .hero-note.is-playing .hero-note-head{fill:#fff8e6!important;stroke:#e2c07a!important;stroke-width:4px}
html[data-tms-home] body section.hero .score-art g[stroke],html[data-tms-home] body section.hero .score-art g[stroke] *{stroke:rgba(233,207,150,.75)!important}
html[data-tms-home] body section.hero .score-art g[fill]:not(.hero-note):not([fill="none"]) > circle{fill:rgba(233,207,150,.8)!important}
html[data-tms-home] body section.hero .score-art text,html[data-tms-home] body section.hero .score-art tspan{fill:#f0d9a4!important}
html[data-tms-home] body section.hero .score-art .tms-gk-say{fill:#e2c07a!important}
html[data-tms-home] body section.hero .hero-listen.tms-hub{background:#143a3b!important;box-shadow:0 0 0 9px rgba(226,192,122,.14)!important;color:#e2c07a!important}
html[data-tms-home] body section.hero .hero-listen.tms-hub .listen-disc{background:#e2c07a!important;color:#0d2526!important}
html[data-tms-home] body section.hero .hero-listen.tms-hub:focus-visible{outline-color:#e2c07a!important}
html[data-tms-home] body section.hero .tms-fs-shape,html[data-tms-home] body section.hero .tms-fs-shape *{stroke:#e2c07a!important;fill:#e2c07a!important;color:#e2c07a!important}
html[data-tms-home] body section.hero .tms-fs-shape polyline{fill:none!important}
/* Membership, said where it applies (owner, 2026-10-13): the quiet line from studio/access.mjs under Connect My Piano. */
.tms-gp-member{margin:6px 0 0}
.tms-gp-member .ax-mline{font:400 14px/1.5 Arial,sans-serif;color:#6b4a14;text-decoration:underline;text-decoration-color:rgba(143,101,41,.45);text-underline-offset:3px}
/* The phone front page's "More" buttons (home-adapter.js, fold): hidden above 640 px, where the page is unchanged. */
.tms-fold{display:none}
@media (max-width:640px){
  .tms-fold{display:grid;grid-template-columns:1fr auto;column-gap:14px;width:calc(100% - 32px);margin:12px 16px;padding:16px 18px;border:1px solid #d9d5c9;border-radius:16px;background:#fffdf8;color:#142e30;text-align:left;cursor:pointer;font:inherit}
  .tms-fold-k{grid-column:1;font:700 11px/1 Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#8f6529}
  .tms-fold b{grid-column:1;margin-top:7px;font:400 21px/1.2 Baskerville,"Baskerville Old Face",Georgia,serif;color:#0b1a1b}
  .tms-fold-l{grid-column:1;margin-top:4px;font:400 15px/1.45 Baskerville,"Baskerville Old Face",Georgia,serif;color:#3d4a48}
  .tms-fold i{grid-column:2;grid-row:1/4;align-self:center;position:relative;width:32px;height:32px;border:1px solid #c9973f;border-radius:50%}
  .tms-fold i::before,.tms-fold i::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:#8f6529;transform:translate(-50%,-50%)}
  .tms-fold i::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .2s ease}
  .tms-fold[aria-expanded=true] i::after{transform:translate(-50%,-50%)}
  .tms-fold:focus-visible{outline:2px solid #23584f;outline-offset:3px}
  [data-tms-fold=shut]{display:none!important}
}
/* Ten places in the header (Membership, 2026-10-13): a little tighter on smaller desktops so they fit beside the name. */
@media (max-width:1360px) and (min-width:1101px){.main-nav{gap:14px}.main-nav a{font-size:13.5px}}
@media (max-width:1180px) and (min-width:1101px){.main-nav{gap:10px}.main-nav a{font-size:13px}}
html[data-tms-home] body section.hero .tms-fs-say.ok::before{color:#e2c07a!important}
/* The piano band on a phone or tablet (home-adapter.js): finger-sized keys under a slim strip of all 88 that shows and moves them. */
.tms-gp-touch .tms-gp-keys{height:clamp(140px,30vw,200px)}
.tms-gp-nav{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.tms-gp-oct{appearance:none;flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(214,168,92,.45);border-radius:50%;background:transparent;font:400 28px/1 Georgia,serif;color:#f3e3c4;cursor:pointer}
.tms-gp-oct i{font-style:normal;margin-top:-3px}.tms-gp-oct:focus-visible{outline:2px solid #d6a85c;outline-offset:2px}
.tms-gp-map{position:relative;flex:1;min-width:0;padding:7px 0;touch-action:none;user-select:none;cursor:pointer}
.tms-gp-map svg{display:block;width:100%;height:30px}
.tms-gp-map .tms-gp-w{stroke-width:1;vector-effect:non-scaling-stroke}
.tms-gp-win{position:absolute;top:3px;bottom:3px;box-sizing:border-box;border:2px solid #d6a85c;border-radius:5px;background:rgba(214,168,92,.2);pointer-events:none}
/* New to music? Start here (2026-10-14): a calm door under the opening. */
.tms-start{padding:34px 0}
.tms-start-in{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:18px 36px;align-items:center;padding:26px clamp(18px,3vw,34px)!important;background:#fffdfa;border:1px solid #dbddd4;border-left:3px solid var(--brass,#b18b5f)}
.tms-start-k{margin:0 0 8px;font:700 11px/1 Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:#7a5d33}
.tms-start h2{margin:0;font:400 clamp(30px,3vw,40px)/1.1 Georgia,serif;letter-spacing:-.02em;color:var(--ink,#142e30)}
.tms-start-t>p:last-child{margin:8px 0 0;font:15px/1.6 Arial,sans-serif;color:#4f6960}
.tms-start-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;counter-reset:tst}
.tms-start-steps a{position:relative;display:grid;gap:6px;height:100%;box-sizing:border-box;padding:16px 18px 16px 54px;text-decoration:none;color:var(--ink,#142e30);background:var(--cream,#f5f2ea);border:1px solid #d3d8cf;counter-increment:tst;transition:border-color .2s}
.tms-start-steps a:before{content:counter(tst);position:absolute;left:16px;top:15px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--ink,#142e30);color:#fff;font:700 13px/1 Arial,sans-serif}
.tms-start-steps a:hover{border-color:var(--brass,#b18b5f)}
.tms-start-steps b{font:400 21px/1.2 Georgia,serif}.tms-start-steps span{font:14px/1.5 Arial,sans-serif;color:#4f6960}
.tms-start-parents{grid-column:1/-1;margin:0;font:14px/1.6 Arial,sans-serif;color:#4f6960}.tms-start-parents b{margin-right:8px;color:#7a5d33}
@media (max-width:820px){.tms-start-in{grid-template-columns:1fr}.tms-start-steps{grid-template-columns:1fr}.tms-start{padding:22px 0}}

/* The two-line header, the same as on every page (owner, 2026-10-15). */
.main-nav .tms-n1,.main-nav .tms-n2{display:contents}
@media (min-width:721px){
  .site-header{height:auto!important}
  .site-header .header-inner{flex-wrap:wrap;align-items:center;column-gap:24px;row-gap:0;height:auto;padding-top:18px}
  .site-header .wordmark{order:0;font-size:24px!important}
  .site-header .main-nav{display:contents}
  .site-header .main-nav .tms-n2{order:1;margin-left:auto;display:flex;align-items:center;gap:8px}
  .site-header .main-nav .tms-n1{order:3;flex-basis:100%;display:flex;align-items:center;gap:4px;margin-top:16px;border-top:1px solid rgba(20,46,48,.12)}
  .site-header .main-nav .tms-n1 a{position:relative;font:600 16px/1 Arial,"Helvetica Neue",sans-serif;letter-spacing:.005em;padding:16px 16px 15px;color:#2a4846;text-decoration:none}
  .site-header .main-nav .tms-n1 a:first-child{padding-left:0}
  .site-header .main-nav .tms-n1 a:hover{color:#0d2a2c}
  .site-header .main-nav .tms-n2 a{font:600 15px/1 Arial,"Helvetica Neue",sans-serif;padding:11px 16px;border-radius:999px;border:1.5px solid transparent;color:#2a4846;text-decoration:none;white-space:nowrap}
  .site-header .main-nav .tms-n2 a[data-xp=rosan]{border-color:#b5832f;color:#7a5418}
  .site-header .main-nav .tms-n2 a[data-xp=rosan]:hover{background:#b5832f;color:#fff}
  .site-header .main-nav .tms-n2 a[data-xp=join]{background:#142e30;border-color:#142e30;color:#fff}
  .site-header .main-nav .tms-n2 a[data-xp=join]:hover{background:#23584f;border-color:#23584f}
}
@media (min-width:721px) and (max-width:1100px){.site-header .main-nav .tms-n1 a{font-size:14px;padding:14px 10px 13px}.site-header .main-nav .tms-n2 a{font-size:13.5px;padding:9px 12px}}
/* The wheel's caption (home/?front=2): what it is, in the owner's words. */
.hero-art .tms-made{position:absolute;left:50%;top:6%;z-index:3;transform:translateX(-50%);width:max-content;max-width:60%;margin:0;text-align:center;pointer-events:none}
.hero-art .tms-made b{display:block;font:400 clamp(17px,1.7vw,22px)/1.2 Georgia,"Times New Roman",serif;color:#fbf3df}
.hero-art .tms-made em{color:#e1bb72}
.hero-art .tms-made span{display:block;margin-top:4px;font:italic 400 14px/1.3 Georgia,serif;color:#e1bb72}
/* home/?front=2: the card-format page; the homepage's other sections step aside (they stay in the plain homepage). */
html.tms-front-ready[data-front="2"] :is(.tms-bn,.tms-start,.tms-gp,.tms-ear,.tms-rosan-band,section.pr,.thesis-strip,.curriculum-samples,.journey,section.experience,.arrangement-section,.closing,.tms-creator){display:none!important}
html[data-front="2"] .tms-front{width:min(100% - 50px,1220px);margin:0 auto}
html[data-front="2"] .tms-front .curriculum-section{margin:70px 0 0}
@media (max-width:720px){.hero-art .tms-made{top:12%;max-width:80%}.hero-art .tms-made b{font-size:16px}.hero-art .tms-made span{font-size:12.5px}}
/* home/?front=2 (owner, 2026-10-15): the page stays light; only the wheel is a dark card, smaller, and still turns. */
html[data-tms-home][data-front="2"] body section.hero{background:transparent!important;box-shadow:none!important;padding:clamp(24px,3vw,44px) 0!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;align-items:center!important;column-gap:clamp(28px,4vw,64px)!important}
html[data-tms-home][data-front="2"] body section.hero:before{display:none}
html[data-tms-home][data-front="2"] body section.hero .eyebrow{color:#a87a2c!important}
html[data-tms-home][data-front="2"] body section.hero .eyebrow-rule{background:#c9973f!important}
html[data-tms-home][data-front="2"] body section.hero h1{color:#142e30!important;-webkit-text-fill-color:#142e30!important}
html[data-tms-home][data-front="2"] body section.hero .hero-deck{color:#3a4b48!important}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark{background:linear-gradient(180deg,#d6a75a,#b8863a)!important;color:#1d1405!important;border-color:#b8863a!important;border-radius:999px!important}
html[data-tms-home][data-front="2"] body section.hero .hero-art{max-width:500px;width:100%;justify-self:end;min-height:0!important;aspect-ratio:1/1.05;border-radius:24px!important;border:1px solid rgba(214,167,90,.45)!important;
  background:radial-gradient(70% 70% at 50% 52%,rgba(226,192,122,.12),rgba(226,192,122,0) 70%),radial-gradient(90% 100% at 30% 0%,#1d4c4b 0,#0f2b2c 55%,#081a1b 100%)!important;
  box-shadow:0 34px 70px -34px rgba(8,26,27,.75),0 0 0 8px rgba(214,167,90,.06)!important}
@media (max-width:900px){html[data-tms-home][data-front="2"] body section.hero{grid-template-columns:1fr!important}html[data-tms-home][data-front="2"] body section.hero .hero-art{justify-self:center;max-width:440px}}
html[data-tms-home][data-front="2"] body section.hero{min-height:0!important;margin-top:0!important;padding-top:28px!important}
html[data-tms-home][data-front="2"] body section.hero .hero-art{margin:0!important}
@media (max-width:720px){html[data-tms-home][data-front="2"] .hero-art .tms-made{top:13%}}
/* The hero's one call (owner, 2026-10-15: "needs to be better looking"): a gold button with a serif label, a clear
   arrow in its own disc, a soft glow and a lift on hover. */
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark{display:inline-flex!important;align-items:center;gap:16px;padding:8px 8px 8px 28px!important;min-height:0!important;border-radius:999px!important;
  font:400 19px/1 Georgia,"Times New Roman",serif!important;letter-spacing:.005em!important;color:#1d1405!important;border:1px solid rgba(255,236,190,.55)!important;
  background:linear-gradient(180deg,#e7bf74 0%,#c9973f 55%,#b07d2c 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,246,220,.7),0 14px 28px -12px rgba(176,125,44,.75),0 0 0 6px rgba(201,151,63,.12)!important;transition:transform .2s,box-shadow .2s!important}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#142e30;color:#f3d9a2;font:18px/1 Arial,sans-serif;transition:transform .2s}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,246,220,.8),0 20px 34px -12px rgba(176,125,44,.85),0 0 0 8px rgba(201,151,63,.16)!important}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark:hover span{transform:translateX(3px)}
/* The hero's opening paragraph, a touch larger (owner, 2026-10-15). */
html[data-tms-home][data-front="2"] body section.hero .hero-deck{font-size:clamp(19px,1.55vw,22px)!important;line-height:1.6!important;max-width:34em}
html[data-tms-home][data-front="2"] .curriculum-section .section-heading h2 + p{font-size:clamp(19px,1.5vw,21px)!important;line-height:1.6!important}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark{color:#04201f!important;border:1px solid #9ff6ff!important;background:linear-gradient(180deg,#d4ffff 0%,#7df9ff 55%,#3fd4de 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 0 22px rgba(125,249,255,.55),0 12px 24px -12px rgba(20,90,95,.6)!important}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark span{background:#04201f!important;color:#7df9ff!important}
html[data-tms-home][data-front="2"] body section.hero .hero-actions .button-dark:hover{box-shadow:inset 0 1px 0 #fff,0 0 30px rgba(125,249,255,.75),0 16px 28px -12px rgba(20,90,95,.7)!important}
/* The line that draws as the three traditions play (owner, 2026-10-15): deep teal, slightly luminous, slightly thicker. */
.tms-three-trace{stroke:#0f6b66!important;stroke-width:3.2!important;filter:drop-shadow(0 0 2.5px rgba(32,170,160,.55)) drop-shadow(0 0 6px rgba(32,170,160,.25))}
.tms-three-tip{fill:#0f6b66!important;filter:drop-shadow(0 0 4px rgba(32,170,160,.8))}
.tms-three-halo{fill:rgba(32,170,160,.16)!important}
/* The hero's call in the chosen aurora style (owner, 2026-10-15). */
html[data-tms-home][data-front] body section.hero .hero-actions .button-dark{color:#fff!important;border:2px solid transparent!important;border-radius:999px!important;padding:15px 30px!important;
  font:400 19px/1.15 Georgia,"Times New Roman",serif!important;font-style:normal!important;letter-spacing:0!important;
  background:linear-gradient(#0b1f20,#0b1f20) padding-box,conic-gradient(from var(--edge),#7df9ff,#9b6cff,#ff8be0,#7df9ff) border-box!important;
  box-shadow:0 0 24px -6px rgba(125,170,255,.6),0 14px 26px -14px rgba(8,26,27,.8)!important;animation:fr-edge 6s linear infinite}
html[data-tms-home][data-front] body section.hero .hero-actions .button-dark span{background:none!important;width:auto!important;height:auto!important;color:#fff!important}
html[data-tms-home][data-front] body section.hero .hero-actions .button-dark::before,html[data-tms-home][data-front] body section.hero .hero-actions .button-dark::after{display:none!important}
@media (max-width:720px){.hero-art .tms-made span{font-size:14px!important}}
/* The wheel's caption beside it, in the hero text under the button (owner, 2026-10-15: it collided inside the card). */
html[data-tms-home] .hero .tms-made.tms-made-side{position:static;transform:none;width:auto;max-width:440px;margin:26px 0 0;text-align:left;pointer-events:auto;padding-left:16px;border-left:2px solid #c9a35f}
html[data-tms-home] .hero .tms-made-side b{display:block;font:400 clamp(19px,1.6vw,22px)/1.3 Georgia,"Times New Roman",serif;color:var(--tms-hero-ink,inherit)}
html[data-tms-home] .hero .tms-made-side em{color:#b8893e}
html[data-tms-home] .hero .tms-made-side span{display:block;margin-top:4px;font:italic 400 16px/1.4 Georgia,serif!important;color:#9a7a45}
