@font-face {
  font-family:"Source Sans 3";
  src:url('../../fonts/source-sans-3/source-sans-3-latin.woff2') format('woff2');
  font-weight:200 900;
  font-style:normal;
  font-display:swap
}
:root {
  --paper:#eeeae3;
  --ink:#242322;
  --olive:#72754b;
  --rule:#c8c3ba;
  --muted:#625e58;
  --serif:Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3",sans-serif
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:18px/1.45 var(--sans)
}
button,input,a {
  -webkit-tap-highlight-color:transparent
}
button,input {
  font:inherit
}
button,a {
  touch-action:manipulation
}
button {
  color:inherit;
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.5
}
a {
  color:inherit;
  text-underline-offset:5px
}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline:3px solid var(--olive);
  outline-offset:5px
}
button {
  border-radius:0
}
button:hover,a:hover {
  color:var(--olive)
}
.shell {
  width:min(1365px,calc(100% - 128px));
  margin:auto
}
.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:90px;
  gap:30px
}
.wordmark {
  font:28px/1.1 var(--serif);
  letter-spacing:-.7px;
  text-decoration:none
}
.site-header nav {
  display:flex;
  gap:44px;
  align-items:center
}
.site-header nav a {
  text-decoration:none
}
.text-link {
  border:0;
  background:none;
  padding:10px 0;
  text-decoration:underline;
  text-underline-offset:5px;
  font-size:inherit
}
.site-header .text-link {
  text-decoration:none
}
.steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:0;
  list-style:none;
  margin:6px 0 0;
  gap:24px;
  color:var(--muted)
}
.steps li {
  min-width:0
}
.steps button {
  display:block;
  width:100%;
  min-height:44px;
  border:0;
  border-bottom:1px solid var(--rule);
  background:transparent;
  color:inherit;
  font:inherit;
  padding:14px 0 12px;
  font-size:17px;
  text-align:left
}
.steps button:disabled {
  opacity:1;
  cursor:default
}
.steps button:disabled:not([aria-current]) {
  color:var(--muted)
}
.steps button:enabled:hover {
  border-bottom-color:var(--olive)
}
.steps span {
  margin-right:9px
}
.steps [aria-current] {
  border-bottom:3px solid var(--olive);
  padding-bottom:10px;
  color:var(--olive);
  font-weight:600
}
main {
  padding:58px 0 0;
  outline:none
}
h1 {
  font:normal clamp(54px,6.35vw,96px)/.99 var(--serif);
  letter-spacing:-4px;
  margin:0 0 22px;
  max-width:1140px
}
h1.listen-title {
  max-width:1000px
}
h1.compare-title {
  max-width:1140px
}
h1.reveal-title {
  font-size:clamp(52px,5.3vw,80px);
  max-width:none
}
.intro {
  font-size:24px;
  margin:0 0 42px;
  max-width:1200px
}
.player {
  position:relative
}
.player-top {
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:17px;
  margin-bottom:8px
}
.time {
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}
.player-body {
  display:grid;
  grid-template-columns:78px 1fr;
  align-items:center;
  gap:28px
}
.play {
  width:78px;
  height:78px;
  border:0;
  border-radius:50%;
  background:var(--ink);
  color:var(--paper);
  display:grid;
  place-items:center;
  padding:0
}
.play:hover {
  color:var(--paper);
  background:var(--olive)
}
.play svg {
  height:26px;
  width:26px;
  fill:currentColor
}
.wave-wrap {
  position:relative;
  min-width:0
}
.wave {
  width:100%;
  height:94px;
  display:block;
  overflow:visible;
  color:var(--olive)
}
.wave line {
  stroke:currentColor;
  stroke-width:1.4
}
.wave .elapsed {
  stroke:var(--ink)
}
.seek {
  width:100%;
  height:24px;
  display:block;
  margin:4px 0 0;
  accent-color:var(--olive);
  cursor:pointer
}
.seek::-webkit-slider-runnable-track {
  height:4px;
  background:var(--rule);
  border-radius:4px
}
.seek::-webkit-slider-thumb {
  margin-top:-6px
}
.marker-pin {
  position:absolute;
  top:0;
  bottom:24px;
  border-left:1px dashed var(--ink);
  pointer-events:none
}
.marker-row {
  display:flex;
  align-items:center;
  gap:20px;
  margin:23px 0 30px;
  flex-wrap:wrap
}
.hint {
  font-size:15px;
  color:var(--muted);
  margin:0
}
.outline,.choice {
  background:transparent;
  border:1px solid var(--ink);
  padding:11px 24px;
  min-height:46px;
  min-width:170px;
  line-height:1.3
}
.outline:hover,.choice:hover {
  border-color:var(--olive)
}
.choice[aria-pressed=true] {
  background:var(--olive);
  border-color:var(--olive);
  color:var(--paper)
}
.reaction {
  border-top:1px solid var(--rule);
  padding-top:28px;
  display:flex;
  align-items:center;
  gap:32px;
  flex-wrap:wrap
}
.reaction h2 {
  font:normal 36px/1.15 var(--serif);
  letter-spacing:-1px;
  margin:0
}
.choices {
  display:flex;
  gap:14px;
  flex-wrap:wrap
}
.primary {
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  padding:13px 28px;
  min-height:48px;
  font-size:18px
}
.primary:hover {
  background:var(--olive);
  border-color:var(--olive);
  color:var(--paper)
}
.primary .arrow {
  display:inline-block;
  margin-left:20px
}
.actions {
  display:flex;
  gap:28px;
  align-items:center;
  flex-wrap:wrap;
  margin:26px 0 8px
}
.bottom-row {
  margin:38px 0 30px;
  padding-top:25px;
  border-top:1px solid var(--rule)
}
.piece-picker {
  font-size:17px
}
.picker-heading {
  display:flex;
  justify-content:space-between;
  gap:24px;
  margin-bottom:14px;
  color:var(--muted);
  font-variant-numeric:tabular-nums
}
.album-index {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:28px;
  row-gap:8px
}
.piece-picker button {
  display:flex;
  align-items:baseline;
  gap:12px;
  width:100%;
  min-height:48px;
  text-align:left;
  padding:10px 0;
  border:0;
  border-bottom:1px solid var(--rule);
  background:none
}
.piece-picker button[aria-pressed=true] {
  color:var(--olive-ink);
  border-bottom:3px solid var(--olive);
  padding-bottom:8px
}
.track-number {
  flex:0 0 22px;
  color:var(--muted);
  font-size:14px;
  font-variant-numeric:tabular-nums
}
.track-title {
  min-width:0;
  overflow-wrap:anywhere
}
footer {
  border-top:1px solid var(--rule);
  padding:14px 0 18px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:14px
}
footer .text-link {
  font-size:14px;
  padding:0
}
.variant-tabs {
  display:flex;
  margin:2px 0 27px
}
.variant-tabs button {
  flex:1;
  text-align:left;
  padding:0 0 10px;
  border:0;
  border-bottom:1px solid var(--rule);
  background:none;
  font-size:28px
}
.variant-tabs button[aria-selected=true] {
  color:var(--olive);
  border-bottom:3px solid var(--olive);
  padding-bottom:8px
}
.compare-hint {
  margin:13px 0 30px 106px
}
.compare-reaction {
  border:0;
  display:block;
  padding:0
}
.compare-reaction h2 {
  font:normal 23px/1.3 var(--sans);
  letter-spacing:0;
  margin-bottom:15px
}
.origins {
  display:grid;
  grid-template-columns:1fr 1fr;
  margin:0 0 24px
}
.origin {
  padding:0 34px 4px 0;
  min-width:0
}
.origin+.origin {
  border-left:1px solid var(--rule);
  padding:0 0 4px 34px
}
.origin .version {
  font-size:14px;
  letter-spacing:1.6px;
  margin:0 0 12px
}
.origin h2 {
  font:normal 40px/1.05 var(--serif);
  letter-spacing:-1.2px;
  margin:0 0 16px
}
.origin p {
  font-size:18px;
  max-width:540px;
  margin:0 0 20px
}
.origin .play {
  width:60px;
  height:60px
}
.origin .player-body {
  grid-template-columns:60px 1fr;
  gap:22px
}
.origin .wave {
  height:60px
}
.origin .player-top {
  font-size:14px
}
.after-reaction {
  display:block
}
.after-reaction h2 {
  margin-bottom:18px
}
.after-reaction .hint {
  margin-top:10px
}
.before {
  font-size:16px;
  color:var(--muted);
  margin:15px 0 0
}
details {
  margin:20px 0 0;
  color:var(--muted);
  font-size:16px
}
summary {
  cursor:pointer;
  min-height:44px;
  padding:9px 0;
  width:fit-content
}
details p {
  max-width:900px;
  margin:12px 0
}
details ul {
  padding-left:22px;
  max-width:960px
}
details li {
  margin:10px 0;
  overflow-wrap:anywhere
}
.status {
  font-size:16px;
  min-height:24px;
  margin:10px 0 0;
  color:var(--olive)
}
.error {
  color:#8a3526
}
.loading {
  margin:40px 0 100px
}
.skip-link {
  position:absolute;
  left:20px;
  top:-70px;
  z-index:3;
  background:var(--paper);
  padding:12px
}
.skip-link:focus {
  top:10px
}
dialog {
  background:var(--paper);
  color:var(--ink);
  border:1px solid var(--rule);
  padding:32px 40px;
  max-width:650px;
  width:calc(100% - 36px)
}
dialog::backdrop {
  background:#24232288
}
dialog h2 {
  font:normal 46px/1.07 var(--serif);
  letter-spacing:-1.7px;
  margin:24px 0
}
dialog p {
  font-size:20px
}
.dialog-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:15px
}
#about {
  max-height:calc(100dvh - 36px);
  overflow-y:auto
}
#about .dialog-top {
  position:sticky;
  top:0;
  z-index:2;
  background:var(--paper);
  /* Cover the upper scroll padding while the header sticks. */
  box-shadow:0 -32px 0 0 var(--paper)
}
#about-close {
  min-height:44px
}
.project-study {
  margin:18px 0 24px
}
.project-study img {
  display:block;
  width:100%;
  height:140px;
  object-fit:cover;
  object-position:center 45%;
  mix-blend-mode:multiply
}
.project-study figcaption {
  margin-top:8px;
  text-align:right;
  color:var(--muted);
  font-size:12px
}
.project-study em {
  margin:0 8px;
  font-family:var(--serif);
  font-size:15px
}
#about .project-question {
  font:normal 29px/1.2 var(--serif);
  letter-spacing:-.7px
}
.project-guide p {
  font-size:17px
}
.retry {
  margin-top:22px
}
[hidden] {
  display:none!important
}
@media(min-width:1400px) {
  main {
    padding-top:64px
  }
  .intro {
    margin-bottom:46px
  }
  .marker-row {
    margin-bottom:32px
  }
  .bottom-row {
    margin-top:24px
  }
}
@media(max-width:1000px) {
  .shell {
    width:calc(100% - 72px)
  }
  h1 {
    font-size:74px;
    letter-spacing:-3px
  }
  .reaction {
    display:block
  }
  .reaction h2 {
    margin-bottom:18px
  }
  .intro {
    font-size:22px
  }
  .origin h2 {
    font-size:34px
  }
  .origin {
    padding-right:24px
  }
  .origin+.origin {
    padding-left:24px
  }
  .origin .player-body {
    gap:12px;
    grid-template-columns:48px 1fr
  }
  .origin .play {
    width:48px;
    height:48px
  }
}
@media(max-width:640px) {
  .shell {
    width:calc(100% - 44px)
  }
  .site-header {
    min-height:98px;
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    gap:8px
  }
  .wordmark {
    font-size:24px
  }
  .site-header nav {
    gap:26px;
    font-size:15px
  }
  .site-header .text-link {
    padding:0;
    min-height:28px
  }
  .steps {
    gap:10px;
    margin-top:12px
  }
  .steps button {
    font-size:15px;
    padding-top:11px
  }
  .steps span {
    margin-right:3px
  }
  main {
    padding-top:34px
  }
  h1,h1.reveal-title {
    font-size:48px;
    line-height:1.04;
    letter-spacing:-2px;
    margin-bottom:20px
  }
  .intro {
    font-size:20px;
    line-height:1.4;
    margin-bottom:28px
  }
  .player-body {
    grid-template-columns:54px 1fr;
    gap:15px
  }
  .play {
    width:54px;
    height:54px
  }
  .play svg {
    width:21px;
    height:21px
  }
  .wave {
    height:76px
  }
  .player-top {
    font-size:15px
  }
  .marker-row {
    gap:12px;
    margin:18px 0 26px
  }
  .outline,.choice {
    min-width:0;
    min-height:46px;
    padding:10px 17px
  }
  .reaction {
    padding-top:22px
  }
  .reaction h2 {
    font-size:30px
  }
  .choices {
    gap:8px
  }
  .choices .choice {
    flex:1;
    font-size:16px;
    white-space:nowrap;
    padding-inline:10px
  }
  .primary {
    width:100%;
    font-size:17px
  }
  .actions {
    gap:12px;
    margin-top:24px
  }
  .actions>.text-link {
    width:100%;
    text-align:center
  }
  .bottom-row {
    margin:25px 0
  }
  .compare-hint {
    margin:13px 0 26px 69px;
    font-size:14px
  }
  .variant-tabs button {
    font-size:24px
  }
  .compare-reaction h2 {
    font:normal 22px/1.3 var(--sans);
    letter-spacing:0
  }
  .origins {
    display:block
  }
  .origin,.origin+.origin {
    padding:0 0 22px;
    border:0
  }
  .origin+.origin {
    border-top:1px solid var(--rule);
    padding-top:25px
  }
  .origin h2 {
    font-size:35px
  }
  .origin p {
    font-size:18px
  }
  .origin .player-body {
    grid-template-columns:54px 1fr;
    gap:15px
  }
  .origin .play {
    height:54px;
    width:54px
  }
  .origin .wave {
    height:64px
  }
  footer {
    flex-direction:column;
    gap:8px;
    font-size:13px
  }
  footer .text-link {
    align-self:flex-start;
    min-height:32px
  }
  .after-reaction .choices {
    flex-wrap:wrap
  }
  dialog {
    padding:22px
  }
  dialog h2 {
    font-size:38px
  }
  dialog p {
    font-size:18px
  }
  .hint {
    font-size:14px
  }
}
@media(prefers-reduced-motion:no-preference) {
  button,a {
    transition:color .15s,background-color .15s,border-color .15s
  }
}
/* Darker olive for small text and filled controls: 5.07:1 on paper. */
:root {
  --olive-ink:#62653f
}
button:hover,a:hover,.steps [aria-current],.piece-picker button[aria-pressed=true],.variant-tabs button[aria-selected=true],.status {
  color:var(--olive-ink)
}
.choice[aria-pressed=true],.primary:hover {
  background:var(--olive-ink);
  border-color:var(--olive-ink);
  color:var(--paper)
}
.play:hover {
  color:var(--paper)
}
.wave line {
  vector-effect:non-scaling-stroke;
  stroke-width:1.2
}
@media(max-width:359px) {
  .primary {
    padding-inline: 12px;
  }
  .choices {
    flex-wrap:wrap
  }
  .choices .choice {
    flex:1 1 42%
  }
  .choices .choice:last-child {
    flex-basis:100%
  }
}

.status:empty {
  display: none;
}
@media (max-width: 1050px) {
  .album-index {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media (max-width: 520px) {
  .album-index {
    grid-template-columns:1fr;
    row-gap:4px
  }
  .piece-picker button {
    font-size:17px
  }
}

/* Keep the seek control flat while retaining native keyboard semantics. */
.seek {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
}
.seek::-webkit-slider-runnable-track {
  border: 0;
  box-shadow: none;
  height: 4px;
  background: var(--rule);
}
.seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
}
.seek::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--rule);
}
.seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
}

/* Static, tone-on-tone resonance print; never competes with the player. */
body::before {
  content:"";
  position:fixed;
  inset:0;
  background:url('../images/listening-traces.png') right center / cover no-repeat;
  opacity:.28;
  pointer-events:none;
  z-index:-1
}
body {
  isolation:isolate
}
.hunch {
  margin-top:18px
}
.hunch p {
  color:var(--ink);
  margin-top:4px
}
.hunch .choices {
  margin:12px 0 4px
}
.reflection-insight {
  color:var(--olive-ink);
  font-size:18px;
  margin:12px 0 0
}
.reflection-insight:empty {
  display:none
}
.play::after {
  content:"";
  position:absolute;
  inset:-5px;
  border:1px solid var(--olive);
  border-radius:50%;
  opacity:0;
  transform:scale(.92);
  pointer-events:none
}
.play {
  position:relative
}
.play[data-playing=true]::after {
  opacity:1;
  transform:scale(1)
}
@media(prefers-reduced-motion:no-preference) {
  body[data-input=pointer] .play::after {
    transition:transform 160ms cubic-bezier(.23,1,.32,1),opacity 160ms cubic-bezier(.23,1,.32,1)
  }
  body[data-input=pointer] button {
    transition:transform 120ms cubic-bezier(.23,1,.32,1)
  }
  body[data-input=pointer] button:active {
    transform:scale(.97)
  }
}
/* Keyboard navigation and reduced motion have immediate feedback. */
body[data-input=keyboard] button,body[data-input=keyboard] a {
  transition:none
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    animation:none!important
  }
  .play::after {
    transform:none
  }
}
@media(max-width:640px) {
  body::before {
    opacity:.18
  }
}

/* The working notebook: three quiet studies, one listening surface. */
:root {
  --study-image:url('../images/listening-margins.png');
  --study-wash:.13
}
body[data-stage=compare] { --study-image:url('../images/listening-action.png') }
body[data-stage=reveal] { --study-image:url('../images/listening-codex.png') }
body::before {
  background-image:var(--study-image);
  background-position:right top;
  opacity:var(--study-wash)
}
main {
  padding-top:36px
}
.encounter-head {
  position:relative;
  isolation:isolate;
  padding:12px 0 38px;
  min-height:335px
}
.encounter-head::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-28px -40px 10px 24%;
  background:var(--study-image) right center / auto 118% no-repeat;
  opacity:.82;
  pointer-events:none;
  mix-blend-mode:multiply
}
.eyebrow {
  font-size:12px;
  font-weight:600;
  letter-spacing:2px;
  color:var(--muted);
  margin:0 0 22px
}
.eyebrow span {
  margin:0 12px;
  font-weight:400
}
.encounter-head h1 {
  font-size:clamp(54px,5.8vw,88px);
  max-width:72%;
  letter-spacing:-3.9px;
  margin-bottom:22px
}
.encounter-head .reveal-title {
  font-size:clamp(52px,5.2vw,78px);
  max-width:78%
}
.encounter-head .intro {
  font-size:22px;
  max-width:68%;
  margin-bottom:0
}
.art-caption {
  position:absolute;
  right:0;
  bottom:30px;
  display:flex;
  gap:12px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:1px
}
.art-caption span+span {
  font-style:italic;
  font-family:var(--serif);
  letter-spacing:0;
  font-size:15px
}
.listening-surface {
  position:relative;
  border-top:1px solid var(--rule);
  padding-top:24px;
  background:var(--paper)
}
.player-top {
  font-size:16px;
  margin-bottom:12px
}
.marker-row {
  margin:24px 0
}
.reaction {
  padding-top:24px
}
.marker-pin {
  border-left:1px solid var(--ink);
  top:-2px
}
.trace-time {
  position:absolute;
  top:-21px;
  left:7px;
  color:var(--ink);
  background:var(--paper);
  font:italic 15px/1.1 var(--serif);
  white-space:nowrap;
  padding:1px 3px
}
.marker-pin.near-end .trace-time {
  left:auto;
  right:7px
}
.trace-recall {
  color:var(--muted);
  font-size:15px;
  margin:0 0 24px 106px
}
.trace-recall strong {
  color:var(--ink);
  font:italic 18px/1.3 var(--serif)
}
.reflection-insight {
  font:italic 23px/1.35 var(--serif);
  margin:18px 0 4px
}
.album-disclosure {
  width:100%;
  margin:0;
  color:var(--ink)
}
.album-disclosure>summary {
  display:none
}
.footer-actions {
  display:flex;
  gap:30px;
  flex-shrink:0
}
@media(max-width:1000px) {
  .encounter-head h1 {
    font-size:70px;
    max-width:78%
  }
  .encounter-head::before {
    opacity:.5;
    inset:-15px -30px 0 24%
  }
  .encounter-head .reveal-title {
    max-width:85%
  }
  .footer-actions {
    gap:20px
  }
}
@media(max-width:640px) {
  :root { --study-wash:.06 }
  main {
    padding-top:25px
  }
  .encounter-head {
    min-height:0;
    padding:8px 0 36px
  }
  .encounter-head::before {
    opacity:.17;
    inset:-12px -22px 0 24%;
    background-size:auto 108%
  }
  .eyebrow {
    font-size:10px;
    letter-spacing:1.1px;
    margin-bottom:24px
  }
  .eyebrow span {
    margin:0 7px
  }
  .encounter-head h1,.encounter-head .reveal-title {
    max-width:100%;
    font-size:48px;
    letter-spacing:-2.1px;
    line-height:1.04;
    margin-bottom:21px
  }
  .encounter-head .intro {
    max-width:100%;
    font-size:20px;
    line-height:1.35
  }
  .art-caption {
    display:none
  }
  .listening-surface {
    padding-top:21px
  }
  .player-top {
    font-size:14px;
    gap:12px
  }
  .marker-row {
    margin-top:20px;
    margin-bottom:24px;
    gap:12px
  }
  .marker-row .hint {
    max-width:160px;
    font-size:13px
  }
  .reaction h2 {
    font-size:28px
  }
  .compare-reaction h2 {
    font-size:21px
  }
  .trace-recall {
    margin:0 0 24px 69px
  }
  .reflection-insight {
    font-size:22px
  }
  .album-disclosure>summary {
    display:flex;
    width:100%;
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
    font-size:17px;
    padding:12px 0
  }
  .album-disclosure>summary::before {
    content:'＋';
    position:absolute;
    right:0;
    font-size:22px
  }
  .album-disclosure[open]>summary::before {
    content:'−'
  }
  .album-disclosure {
    position:relative
  }
  #current-piece-caption {
    color:var(--muted);
    font-size:14px;
    padding-right:20px
  }
  .album-disclosure .picker-heading {
    display:none
  }
  .footer-actions {
    flex-wrap:wrap;
    gap:10px 25px
  }
}
@media(min-width:1400px) {
  main { padding-top:38px }
  .marker-row { margin-bottom:25px }
}

/* Keep the study on its page, with paper edges dissolving into the layout. */
body::before {
  background-image:url('../images/listening-traces.png');
  opacity:.075
}
.encounter-head::before {
  -webkit-mask-image:linear-gradient(to right,transparent 2%,#000 32%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 82%,transparent);
  mask-image:linear-gradient(to right,transparent 2%,#000 32%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 82%,transparent);
  -webkit-mask-composite:source-in;
  mask-composite:intersect
}
.art-caption {
  bottom:16px
}
@media(max-width:359px) {
  .encounter-head h1,.encounter-head .reveal-title {
    font-size:42px;
    letter-spacing:-1.8px
  }
}
.encounter-head::before {
  inset:auto;
  top:-28px;
  right:-40px;
  height:calc(100% + 18px);
  width:auto;
  aspect-ratio:3 / 2;
  background-size:100% 100%
}
.trace-time {
  top:6px
}
.excerpt-navigation {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  margin-top:22px
}
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}
.excerpt-step {
  background:transparent;
  color:var(--ink);
  border:1px solid var(--rule);
  min-height:44px;
  padding:9px 16px;
  justify-self:start;
  font-size:15px
}
.excerpt-step:last-child {
  justify-self:end
}
.excerpt-step span {
  margin:0 6px
}
.excerpt-position {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:var(--muted)
}
.excerpt-position select {
  min-height:44px;
  min-width:54px;
  padding:8px;
  border:1px solid var(--rule);
  border-radius:0;
  background:transparent;
  color:var(--ink);
  font:inherit;
  cursor:pointer
}
.excerpt-position select:focus-visible {
  outline:2px solid var(--olive);
  outline-offset:4px
}
.excerpt-hint {
  margin:8px 0 0;
  text-align:center;
  font-size:13px
}
@media(max-width:1000px) {
  .encounter-head::before {
    top:-15px;
    right:-30px;
    height:calc(100% + 15px)
  }
}
@media(max-width:640px) {
  .excerpt-navigation {
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:18px
  }
  .excerpt-position {
    grid-column:1 / -1;
    grid-row:1;
    justify-content:center
  }
  .excerpt-step {
    justify-self:stretch;
    padding:10px 5px;
    font-size:14px;
    white-space:nowrap
  }
  .excerpt-step:last-child {
    justify-self:stretch
  }
  .excerpt-step span {
    margin:0 2px
  }
  .excerpt-hint {
    max-width:260px;
    margin:10px auto 0
  }
  .encounter-head::before {
    top:-12px;
    right:-22px;
    height:calc(100% + 12px)
  }
}

/* Shared Unicons paths remain decorative; each action keeps its text label. */
.button-with-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px
}
.control-icon {
  display:inline-block;
  width:19px;
  height:19px;
  flex:0 0 auto;
  fill:currentColor;
  vertical-align:middle
}
.excerpt-step span {
  margin:0
}
.marker-row {
  margin:20px 0 18px;
  gap:12px
}
.listen-controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px 24px;
  margin:20px 0 18px
}
.listen-controls>.marker-row {
  margin:0
}
.listen-controls>.primary {
  margin-left:auto;
  max-width:100%;
  justify-content:center
}
.marker-row .outline {
  min-width:0;
  min-height:44px;
  padding:9px 14px;
  font-size:16px
}
.marker-row button:disabled,.composer-actions button:disabled,.note-tools button:disabled {
  cursor:default
}
.moment-notes {
  max-width:860px;
  margin:0 0 24px 106px
}
.moment-notes:empty {
  display:none
}
.note-list {
  list-style:none;
  padding:0;
  margin:0
}
.note-list>li {
  border-bottom:1px solid var(--rule)
}
.note-list details {
  margin:0;
  padding:0;
  border:0
}
.note-list summary {
  display:flex;
  width:100%;
  max-width:100%;
  min-width:0;
  align-items:center;
  gap:14px;
  min-height:44px;
  padding:8px 0;
  list-style:none;
  cursor:pointer;
  font-size:16px
}
.note-list summary::-webkit-details-marker {
  display:none
}
.note-list summary::marker {
  content:''
}
.note-list time,.uncommented-mark time {
  flex:0 0 52px;
  color:var(--muted);
  font:italic 18px/1.3 var(--serif);
  white-space:nowrap
}
.note-preview {
  flex:1;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis
}
.note-chevron {
  color:var(--muted);
  width:18px;
  flex:0 0 auto;
  text-align:center;
  font-size:20px;
  line-height:1
}
.note-list details[open] .note-chevron {
  transform:rotate(45deg)
}
.note-body {
  padding:0 24px 10px 66px
}
.note-body p {
  margin:5px 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:17px;
  line-height:1.5
}
.note-tools {
  display:flex;
  gap:20px
}
.note-tools button {
  min-height:44px;
  font-size:14px
}
.note-composer {
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:14px;
  padding:10px 0 14px;
  align-items:start
}
.note-composer>label {
  padding-top:8px;
  color:var(--muted);
  font:italic 18px/1.3 var(--serif)
}
.note-composer textarea {
  display:block;
  width:100%;
  min-width:0;
  min-height:66px;
  max-height:240px;
  padding:8px 10px;
  border:1px solid var(--rule);
  border-radius:0;
  background:transparent;
  color:var(--ink);
  font:16px/1.5 var(--sans);
  resize:vertical
}
.note-composer textarea::placeholder {
  color:var(--muted);
  opacity:1
}
.note-composer textarea:focus-visible {
  outline:2px solid var(--olive);
  outline-offset:3px
}
.composer-actions {
  display:flex;
  align-items:center;
  gap:12px
}
.composer-actions .outline {
  min-width:0;
  min-height:44px;
  padding:8px 12px;
  font-size:15px
}
.composer-actions .text-link {
  min-height:44px;
  font-size:14px
}
.notes-feedback {
  margin-top:9px;
  font-size:13px
}
.uncommented-mark {
  display:flex;
  align-items:center;
  gap:18px;
  font-size:15px
}
@media(max-width:640px) {
  .control-icon {
    width:17px;
    height:17px
  }
  .button-with-icon {
    gap:7px
  }
  .moment-notes {
    margin:0 0 24px;
    max-width:none
  }
  .note-list summary {
    gap:10px;
    font-size:15px
  }
  .note-list time {
    flex-basis:46px;
    font-size:17px
  }
  .note-body {
    padding-left:56px;
    padding-right:0
  }
  .note-body p {
    font-size:16px
  }
  .note-composer {
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px 10px
  }
  .note-composer>label {
    grid-column:1 / -1;
    padding-top:0;
    font-size:16px
  }
  .note-composer textarea {
    min-height:80px
  }
  .composer-actions {
    flex-direction:column;
    gap:0
  }
  .composer-actions .text-link {
    min-height:44px;
    padding:5px 0
  }
  .excerpt-step {
    gap:5px;
    font-size:13px
  }
}

/* Moment handles stay independent of the transport seek bar. */
.marker-controls {
  position:absolute;
  inset:0 0 28px;
  pointer-events:none;
  z-index:2
}
.marker-handle.marker-pin {
  top:0;
  bottom:auto;
  width:44px;
  min-height:44px;
  height:100%;
  border:0;
  transform:translateX(-50%);
  pointer-events:auto;
  cursor:ew-resize;
  touch-action:none
}
.marker-handle .marker-stem {
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  border-left:1px solid var(--ink)
}
.marker-handle::after {
  content:'';
  position:absolute;
  top:calc(50% - 10px);
  left:calc(50% - 5px);
  width:10px;
  height:20px;
  border:1px solid var(--ink);
  background:var(--paper)
}
.marker-handle .trace-time {
  top:0;
  left:50%;
  opacity:0;
  padding:0 4px;
  font-size:15px;
  white-space:nowrap;
  background:var(--paper)
}
.marker-handle:first-child .trace-time,
.marker-handle:hover .trace-time,
.marker-handle:focus-visible .trace-time,
.marker-handle.is-dragging .trace-time,
.marker-handle.selection-cursor .trace-time,
.marker-handle.draft-pin .trace-time {
  opacity:1
}
.marker-handle:focus-visible {
  outline:2px solid var(--olive);
  outline-offset:1px
}
.marker-handle.selection-cursor .marker-stem,
.marker-handle.draft-pin .marker-stem {
  border-color:var(--olive);
  border-left-width:2px
}
.marker-handle.selection-cursor::after,
.marker-handle.is-dragging::after {
  border-color:var(--olive);
  background:var(--olive)
}
.marker-handle.near-end {
  transform:translateX(-100%)
}
.marker-handle.near-end .marker-stem {
  left:100%
}
.marker-handle.near-end::after {
  left:calc(100% - 5px)
}
.marker-handle.near-end .trace-time {
  left:auto;
  right:0
}
.marker-handle[aria-disabled=true] {
  pointer-events:none;
  cursor:default
}
.marker-handle[aria-disabled=true]::after {
  display:none
}
body[data-stage=listen] .wave {
  cursor:crosshair;
  touch-action:pan-y
}
.waveform-help {
  margin:12px 0 0;
  font-size:14px
}
.selection-reset {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:8px
}
