/* Hot Stars: /leaving-an-agency, the exit as a set of orders.
   Loaded only by leaving-an-agency.html, after styles.css and broadsheet.css (which bring the tokens, the drawn
   rules, the letters and the column reveal). Everything here is prefixed .lv-, so no other page can change.
   Shape of the page: a folio and headline like the contract guide, a numbered contents box beside the standfirst,
   a short two-column article, the seven steps as dated rows on sand, a three-way split of what an agency can keep,
   the red flags beside a "where to get help" box, a you/us ledger for leaving Hot Stars, the letters, and an ink
   band. */

/* ---------- Head: folio, headline, standfirst and the contents box ---------- */
.lv-head { padding: 0 0 44px; border-bottom: 1px solid var(--ink); }
.lv-folio {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 6px;
  font: 700 .62rem/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lv-folio p:last-child { color: var(--red-ink); text-align: right; }
.lv-folio::after { /* the double rule, as on the front page */
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 7px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  pointer-events: none;
}
.lv-title {
  max-width: 16ch;
  padding: 34px 0 0;
  font-size: clamp(2.4rem, 10.5vw, 6.2rem);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -.05em;
}
.lv-head__below { display: grid; gap: 32px; margin-top: 28px; }
.lv-dateline { margin-bottom: 14px; font: 700 .66rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lv-stand { max-width: 38rem; font-size: 1.24rem; line-height: 1.48; color: var(--ink-2); }
.lv-caveat {
  max-width: 38rem;
  margin-top: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  font-size: 1.02rem;
  color: var(--ink-2);
}
.lv-caveat strong { font-family: var(--sans); font-weight: 700; color: var(--ink); }

.lv-contents { border-top: 2px solid var(--ink); padding-top: 12px; }
.lv-contents__title { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lv-contents ol { margin-top: 4px; }
.lv-contents a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 44px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .96rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}
.lv-contents a span { flex: none; width: 1.2em; color: var(--red-ink); font-weight: 800; }
@media (hover: hover) and (pointer: fine) {
  .lv-contents a:hover { color: var(--red-ink); }
}

@media (min-width: 480px) {
  .lv-folio { font-size: .66rem; letter-spacing: .14em; }
}
@media (min-width: 1024px) {
  .lv-head { padding-bottom: 72px; }
  .lv-folio { margin-top: 18px; }
  .lv-title { padding-top: 52px; }
  .lv-head__below { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: end; margin-top: 44px; }
  .lv-stand { font-size: 1.36rem; }
}

/* ---------- Part labels ---------- */
.lv-kicker { margin-bottom: 14px; font: 700 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.lv-part .sec-head p.lv-kicker { max-width: none; justify-self: auto; color: var(--red-ink); font-size: .7rem; }

/* ---------- Part one: the short article ---------- */
.lv-article { display: grid; gap: 22px; }
.lv-article h2 { font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: .98; letter-spacing: -.045em; max-width: 14ch; }
.lv-article__copy p { color: var(--ink-2); }
.lv-article__copy p + p { margin-top: 14px; }
.lv-article__copy a { text-decoration-thickness: 1px; text-underline-offset: 3px; color: var(--ink); }
.lv-article__copy p:first-child::first-letter {
  float: left;
  margin: .08em .1em 0 0;
  font: 900 3.4em/.8 var(--sans);
  letter-spacing: -.04em;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .lv-article { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
  .lv-article__copy { columns: 2; column-gap: 48px; column-rule: 1px solid var(--col-rule); }
  .lv-article__copy p { break-inside: avoid-column; }
}

/* ---------- Part two: the steps, each a dated row ---------- */
.lv-steps { --rl-w: 2px; }
.lv-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--rule);
}
.lv-step__no { grid-row: span 2; font: 800 1.9rem/1 var(--sans); letter-spacing: -.04em; color: var(--red); }
.lv-step__when {
  align-self: start;
  justify-self: start;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  font: 700 .66rem/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lv-step__text h3 { font-size: 1.4rem; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.lv-step__text p { margin-top: 8px; color: var(--ink-2); }
.lv-nowrap { white-space: nowrap; }
@media (min-width: 900px) {
  .lv-step { grid-template-columns: 72px 200px minmax(0, 1fr); column-gap: 32px; padding: 30px 0 32px; align-items: start; }
  .lv-step__no { grid-row: auto; font-size: 2.6rem; }
  .lv-step__when { margin: 8px 0 0; }
  .lv-step__text { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 40px; }
  .lv-step__text h3 { font-size: 1.6rem; }
  .lv-step__text p { margin-top: 2px; }
}

/* ---------- Part three: what they can keep, three columns ---------- */
.lv-split { display: grid; border-top: 2px solid var(--ink); }
.lv-split__col { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.lv-split__col h3 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lv-split__col--never h3 { color: var(--red-ink); }
.lv-split__col ul { margin-top: 10px; }
.lv-split__col li { position: relative; padding: 8px 0 8px 22px; color: var(--ink-2); }
.lv-split__col li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 2px; background: var(--ink); }
.lv-split__col--never li::before { background: var(--red); }
.lv-note { max-width: 40rem; margin-top: 24px; font-style: italic; color: var(--ink-2); }
@media (min-width: 900px) {
  .lv-split { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lv-split__col { padding: 26px 32px 30px; border-bottom: 0; }
  .lv-split__col:first-child { padding-left: 0; }
  .lv-split__col:last-child { padding-right: 0; }
  .lv-split__col + .lv-split__col { border-left: 1px solid var(--col-rule); }
}

/* ---------- Part four: red flags beside the help box ---------- */
.lv-flags { display: grid; gap: 36px; }
.lv-flags__list { border-top: 2px solid var(--ink); counter-reset: flag; }
.lv-flags__list li {
  position: relative;
  padding: 16px 0 17px 40px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.08rem;
}
.lv-flags__list li::before { /* a red cross, as a proofreader marks a line */
  content: "\00d7";
  position: absolute;
  left: 2px;
  top: 10px;
  font: 800 1.6rem/1 var(--sans);
  color: var(--red);
}
.lv-help { padding: 22px 18px 20px; border: 1.5px solid var(--ink); background: var(--paper); }
.lv-help__title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lv-help dl { margin-top: 8px; }
.lv-help dl > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.lv-help dt { font-family: var(--sans); font-weight: 700; }
.lv-help dd { margin: 4px 0 0; color: var(--ink-2); font-size: 1rem; }
.lv-help > p { margin-top: 14px; font-size: .98rem; font-style: italic; color: var(--ink-2); }
@media (min-width: 1024px) {
  .lv-flags { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .lv-help { padding: 28px 30px 26px; }
}

/* ---------- Part five: leaving Hot Stars, you and us side by side ---------- */
.lv-ledger { display: grid; --rl-w: 2px; }
.lv-ledger__col { padding: 22px 0 8px; }
.lv-ledger__col + .lv-ledger__col { border-top: 1px solid var(--rule); }
.lv-ledger__col h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.lv-ledger__col ol { margin-top: 10px; counter-reset: line; }
.lv-ledger__col li {
  position: relative;
  padding: 12px 0 13px 36px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  counter-increment: line;
}
.lv-ledger__col li:last-child { border-bottom: 0; }
.lv-ledger__col li::before {
  content: counter(line, lower-alpha) ".";
  position: absolute;
  left: 0;
  top: 12px;
  font: 700 1rem/1.6 var(--sans);
  color: var(--red-ink);
}
@media (min-width: 900px) {
  .lv-ledger { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lv-ledger.rl-mid::after { display: block; }
  .lv-ledger__col { padding: 28px 48px 12px 0; }
  .lv-ledger__col + .lv-ledger__col { padding: 28px 0 12px 48px; border-top: 0; }
}

/* ---------- The ink band at the end ---------- */
.lv-end { padding: 56px 0 64px; background: var(--ink); color: var(--paper); }
.lv-end__grid { display: grid; gap: 26px; }
.lv-end__kicker { margin-bottom: 14px; font: 700 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hot); }
.lv-end__title { font-size: clamp(2.4rem, 10vw, 5rem); line-height: .94; letter-spacing: -.05em; }
.lv-end__body p { max-width: 30rem; font-size: 1.15rem; color: rgba(243, 239, 230, .85); }
.lv-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 26px; }
.lv-end__actions .btn { flex: 1 1 100%; }
.lv-end__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(243, 239, 230, .35);
  transition: text-decoration-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .lv-end__link:hover { text-decoration-color: var(--paper); }
}
@media (min-width: 640px) {
  .lv-end__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .lv-end { padding: 96px 0 104px; }
  .lv-end__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
}

/* The page's footer sits straight under the ink band. */
.lv + .foot .foot__legal { padding-top: 22px; border-top: 0; }
