/* ==========================================================================
   Track Training System, round 4 · Opus B · "Lane Index"
   Loads after selected-opus-a.css. Hero untouched. Below it the page reads
   as one narrow editorial column that opens into indexes: the questions
   stack as three numbered lanes, the essay leads into a ruled inventory
   with its title beside the list (the same grammar as The Plan), the bio
   wraps around a small portrait, and the start-line photograph returns
   once at the first offer, where the story turns into the decision.
   No copy, order, link or control changes.
   ========================================================================== */

body#encore-theme.tts-round-two {
  --rule: rgba(22, 35, 42, .16);
  --rule-dark: rgba(247, 241, 230, .2);
  --title: clamp(30px, 3.1vw, 43px);
}


/* Rhythm: shorter section breaks below the hero, one title scale. --------- */
#encore-theme main [id^="section-"] .sizer {
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: clamp(52px, 6vw, 88px);
}

#encore-theme :is(#block-1635620735175_0 h2, #block-1635522650218_0 .tts-col-a h2, #block-1636462927785_1 h2, #block-1636463404192_0 h1, #block-1635534740791_0 h2, #block-1636467399056 h1) {
  font-size: var(--title);
  line-height: 1.08;
}


/* 3. Three questions: one column, three numbered lanes -------------------- */
#encore-theme #section-1637331684948 .row { gap: clamp(48px, 6vw, 80px); }

#encore-theme #block-1635620735175_0 { justify-self: center; width: 100%; max-width: 820px; }

#encore-theme #block-1635620735175_0 h2 { max-width: none; }

#encore-theme #block-1635620735175_0 ol {
  display: block;
  margin: 18px 0 0;
  border-top: 1px solid var(--rule-dark);
}

#encore-theme #block-1635620735175_0 li {
  position: relative;
  padding: 14px 0 14px 68px;
  border-top: 0;
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.55;
}

#encore-theme #block-1635620735175_0 li::before {
  position: absolute;
  left: 4px;
  top: 12px;
  margin: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--orange-3);
}

#encore-theme #block-1635620735175_0 li::after,
#encore-theme #block-1637335107165_0 li::after,
#encore-theme #block-1635522650218_0 .tts-col-b li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule-dark);
  transform-origin: left center;
}

#encore-theme #block-1635620735175_0 h3 {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.35;
  margin: 0;
  padding-left: 68px;
}

#encore-theme #block-1635620735175_0 h3:first-of-type { margin-top: 18px; }
#encore-theme #block-1635620735175_0 h3:last-of-type { margin-top: 6px; }


/* 5. Essay, then the inventory as an index -------------------------------- */
#encore-theme #block-1635522650218_0 > .block.tts-split {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(40px, 5vw, 64px);
}

#encore-theme #block-1635522650218_0 .tts-col-a { width: 100%; max-width: 680px; }

#encore-theme #block-1635522650218_0 .tts-col-a h2 { margin: 0 0 24px; }

#encore-theme #block-1635522650218_0 p { font-size: 18px; line-height: 1.7; margin: 0 0 18px; }

#encore-theme #block-1635522650218_0 .tts-col-a p:first-of-type {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 21.5px);
  line-height: 1.55;
  color: var(--ink);
}

#encore-theme #block-1635522650218_0 .tts-col-b {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(32px, 5vw, 80px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  padding: 26px 0 0;
  background: none;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

#encore-theme #block-1635522650218_0 .tts-col-b h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 12px;
  font-size: clamp(25px, 2.4vw, 32px);
  color: var(--ink);
}

#encore-theme #block-1635522650218_0 .tts-col-b h5 { grid-column: 1; grid-row: 2; margin: 0; font-size: 16.5px; max-width: 30ch; }

#encore-theme #block-1635522650218_0 .tts-col-b ul { grid-column: 2; grid-row: 1 / span 3; border-top: 1px solid var(--rule); }

#encore-theme #block-1635522650218_0 .tts-col-b li {
  padding: 15px 8px 15px 38px;
  border-top: 0;
  font-size: 17px;
  transition: background-color 450ms ease;
}

#encore-theme #block-1635522650218_0 .tts-col-b li::before { left: 10px; top: calc(15px + .42em); border-color: var(--teal-2); transition: border-color 450ms ease; }
#encore-theme #block-1635522650218_0 .tts-col-b li::after { background: var(--rule); }
#encore-theme #block-1635522650218_0 .tts-col-b li:hover { background-color: rgba(15, 85, 102, .05); }
#encore-theme #block-1635522650218_0 .tts-col-b li:hover::before { border-color: var(--orange-ink); }


/* 6-9. Essay, plan and story sizes ---------------------------------------- */
#encore-theme #block-1636462927785_1 p { font-size: clamp(18px, 1.4vw, 20px); }
#encore-theme #block-1636462927785_1 p:nth-of-type(2) { font-size: clamp(22px, 2vw, 27px); margin: 28px 0; }
#encore-theme #block-1636463404192_0 p { font-size: 18px; }
#encore-theme #block-1636463404192_0 p.is-pull { font-size: clamp(21px, 1.9vw, 26px); margin: 32px 0; }


/* 7. Long reviews: headings set flush left over a readable card --------- */
#encore-theme :is(#section-1670014348092, #section-1670266540853, #section-1670336796293) .sizer {
  padding-top: clamp(48px, 5.5vw, 76px);
  padding-bottom: clamp(48px, 5.5vw, 76px);
}

#encore-theme :is(#section-1670266540853, #section-1670336796293) .row { gap: 24px; }

#encore-theme :is(#block-1710278368810, #block-1707866497807) { width: 100%; max-width: 680px; }

#encore-theme :is(#block-1710278368810, #block-1707866497807) h2 {
  font-size: clamp(24px, 2.4vw, 33px);
  line-height: 1.2;
  text-align: left !important;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
}

#encore-theme :is(#block-1670266540853_0, #block-1670336796293_0) .senja-embed { max-width: 680px; }

#encore-theme main .senja-embed .sj-card {
  --border-radius: 6px !important;
  --padding: clamp(22px, 3vw, 34px) !important;
  --box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 26px 50px -32px rgba(0, 0, 0, .65) !important;
}

#encore-theme main :is(#block-1670266540853_0, #block-1670336796293_0) .senja-embed .sj-card .sj-content {
  font-size: 16.5px;
  line-height: 1.66;
}


/* 8. The Plan: lead beside clean ruled rows, small teal numerals --------- */
#encore-theme #block-1637335107165_0 > .block.tts-plan {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
}

#encore-theme #block-1637335107165_0 .tts-plan-head { padding-top: 22px; border-top: 2px solid var(--ink); }
#encore-theme #block-1637335107165_0 h1 { font-size: clamp(34px, 3.4vw, 46px); margin: 0 0 14px; }
#encore-theme #block-1637335107165_0 h5 { font-size: clamp(17px, 1.4vw, 20px); max-width: 26ch; }

#encore-theme #block-1637335107165_0 ol { border-top: 1px solid var(--rule); }
#encore-theme #block-1637335107165_0 ol::before { content: none; }

#encore-theme #block-1637335107165_0 li,
#encore-theme #block-1637335107165_0 li:last-child {
  padding: 19px 8px 19px 60px;
  font-size: 17.5px;
  line-height: 1.6;
  transition: background-color 450ms ease;
}

#encore-theme #block-1637335107165_0 li::before {
  content: counter(tts-step, decimal-leading-zero);
  left: 8px;
  top: 21px;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  color: var(--teal-3);
  transition: color 450ms ease;
}

#encore-theme #block-1637335107165_0 li::after { background: var(--rule); }
#encore-theme #block-1637335107165_0 li:hover { background-color: rgba(15, 85, 102, .045); }
#encore-theme #block-1637335107165_0 li:hover::before { color: var(--orange-ink); }


/* 10. First offer on the start line: the photograph's second and last use. */
#encore-theme #section-1677717669924 {
  background:
    linear-gradient(180deg, rgba(11, 42, 54, .9) 0%, rgba(19, 32, 37, .74) 46%, rgba(42, 27, 20, .92) 100%),
    url(/product-assets/daa36a01b38d88e621ae0350.jpg) 50% 38% / cover no-repeat,
    #14262D;
}

#encore-theme #section-1677717669924 .sizer { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }


/* Buttons: a pressed-key surface, quick and honest. Play button untouched. */
#encore-theme #block-1670531867362 .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 13px 26px;
  border: 1px solid var(--cream);
  border-bottom: 3px solid #CFC3AE;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .7);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

#encore-theme #block-1670531867362 .btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--teal-2);
  border-right: 2px solid var(--teal-2);
  transform: rotate(45deg);
}

#encore-theme #block-1670531867362 .btn:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: #fff #fff #CFC3AE;
  color: var(--ink);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .75);
}

#encore-theme :is(#block-1677717669924_5, #block-1704929552374_4) .btn {
  border: 1px solid #F28C28;
  border-bottom: 3px solid #C2611A;
  border-radius: 8px;
  background: #F7932F;
  color: #2E1B0A;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255, 226, 190, .85), 0 10px 22px -12px rgba(168, 78, 20, .6);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

#encore-theme :is(#block-1677717669924_5, #block-1704929552374_4) .btn:hover {
  transform: translateY(-1px);
  background: #FA9F45;
  box-shadow: inset 0 1px 0 rgba(255, 226, 190, .85), 0 14px 28px -12px rgba(168, 78, 20, .65);
}

#encore-theme :is(#block-1670531867362, #block-1677717669924_5, #block-1704929552374_4) .btn:active {
  transform: translateY(1px);
  border-bottom-width: 2px;
  transition-duration: 60ms;
}

#encore-theme :is(#block-1670531867362, #block-1677717669924_5, #block-1704929552374_4) .btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

#encore-theme #section-1677717669924 .btn:focus-visible,
#encore-theme #section-1704929552374 .btn:focus-visible { outline-color: var(--cream); }


/* 11. About Jay: a small portrait set into the copy ---------------------- */
#encore-theme #block-1635534740791_0 { justify-self: center; width: 100%; max-width: 760px; }

/* Without the script: a narrow portrait rail, never a giant column. */
#encore-theme #block-1635534740791_0 .coach-bio-layout {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

#encore-theme #block-1635534740791_0 .coach-portrait { width: 200px; max-width: none; margin: 0; }

#encore-theme #block-1635534740791_0 .coach-portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 0%;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(22, 35, 42, .08), 0 22px 40px -28px rgba(22, 35, 42, .7);
}

#encore-theme #block-1635534740791_0 .coach-bio-layout.tts-bio-float { display: block; }
#encore-theme #block-1635534740791_0 .tts-bio-float .coach-bio-copy { display: flow-root; }
#encore-theme #block-1635534740791_0 .tts-bio-float .coach-bio-copy div { display: block; }

#encore-theme #block-1635534740791_0 .tts-bio-float .coach-portrait {
  float: right;
  width: 200px;
  margin: 6px 0 18px clamp(24px, 3vw, 36px);
}

#encore-theme #block-1635534740791_0 h2 { margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
#encore-theme #block-1635534740791_0 .coach-bio-copy p { font-size: 17.5px; line-height: 1.72; }


/* Responsive ------------------------------------------------------------- */
@media (max-width: 899px) {
  #encore-theme #block-1637335107165_0 > .block.tts-plan { grid-template-columns: minmax(0, 1fr); }
  #encore-theme #block-1635522650218_0 .tts-col-b { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  #encore-theme #block-1635522650218_0 .tts-col-b :is(h2, h5, ul) { grid-column: 1; grid-row: auto; }
  #encore-theme #block-1635522650218_0 .tts-col-b ul { margin-top: 20px; }
  #encore-theme #block-1635534740791_0 .coach-bio-layout { grid-template-columns: 160px minmax(0, 1fr); }
  #encore-theme #block-1635534740791_0 .coach-portrait { width: 160px; }
  #encore-theme #block-1635534740791_0 .coach-bio-copy { grid-column: 2; grid-row: 1; }
  #encore-theme #block-1635534740791_0 .coach-portrait { grid-column: 1; grid-row: 1; }
  #encore-theme #block-1635534740791_0 .tts-bio-float .coach-portrait { width: 170px; }
}

@media (max-width: 599px) {
  #encore-theme #block-1635620735175_0 :is(li, h3) { padding-left: 48px; }
  #encore-theme #block-1635620735175_0 li::before { left: 2px; font-size: 27px; }
  #encore-theme #block-1637335107165_0 li,
  #encore-theme #block-1637335107165_0 li:last-child { padding-left: 46px; }
  #encore-theme #block-1637335107165_0 li::before { left: 4px; width: auto; height: auto; font-size: 18px; }
  #encore-theme #block-1635534740791_0 .coach-bio-layout { grid-template-columns: minmax(0, 1fr); }
  #encore-theme #block-1635534740791_0 .coach-bio-copy { grid-column: 1; grid-row: 2; }
  #encore-theme #block-1635534740791_0 .tts-bio-float .coach-portrait { float: none; width: 160px; margin: 0 0 22px; }
  #encore-theme #block-1635534740791_0 .coach-portrait { width: 160px; }
  #encore-theme #block-1670531867362 .btn { padding: 13px 18px 12px 22px; }
}


/* Motion: position, hairlines and one colour settle. Never opacity. ----- */
@media (prefers-reduced-motion: no-preference) {
  .tts-motion #encore-theme .tts-reveal {
    transform: translateY(18px);
    transition: transform .75s var(--ease) calc(var(--tts-i, 0) * 80ms);
  }
  .tts-motion #encore-theme .tts-reveal.is-in { transform: none; }

  /* Each lane's hairline draws left to right just after the row settles. */
  .tts-motion #encore-theme :is(#block-1635620735175_0, #block-1637335107165_0) li.tts-reveal::after,
  .tts-motion #encore-theme #block-1635522650218_0 .tts-col-b.tts-reveal li::after {
    transform: scaleX(0);
    transition: transform .7s var(--ease) calc(var(--tts-i, 0) * 70ms + .2s);
  }
  .tts-motion #encore-theme :is(#block-1635620735175_0, #block-1637335107165_0) li.tts-reveal.is-in::after,
  .tts-motion #encore-theme #block-1635522650218_0 .tts-col-b.tts-reveal.is-in li::after { transform: none; }

  /* Plan numerals settle from muted ink into teal, the Library accent beat. */
  .tts-motion #encore-theme #block-1637335107165_0 li.tts-reveal::before { color: var(--muted); }
  .tts-motion #encore-theme #block-1637335107165_0 li.tts-reveal.is-in::before {
    color: var(--teal-3);
    transition: color 450ms ease calc(var(--tts-i, 0) * 80ms + .35s);
  }
  .tts-motion #encore-theme #block-1637335107165_0 li.tts-reveal.is-in:hover::before { color: var(--orange-ink); transition-delay: 0s; }
}
