/* Afterglow Talent: fan messaging (fan-messaging.html only). Loaded after styles.css and uses its tokens.
   The page runs like a night: a short dusk hero, then the night itself as a dark band of hours set as huge
   outlined italic numerals (the homepage's "2 a.m." device, one per row), the horizon hairline, and morning on the
   day colour. After that, light sections: the voice guide, a yes / no ledger, paid messages, questions, and a dusk
   call to action. Motion: the hours and the two ledger columns come in once, in order (fan-messaging.js). */

/* Hero: the dusk, shorter than the homepage's */
.fm-hero { position: relative; background: var(--dusk); color: var(--on-dusk); padding: 44px 0 60px; }
.fm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.fm-hero__title {
  margin-top: 26px; max-width: 12ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.1rem, 13vw, 9rem); line-height: .94; letter-spacing: -.022em;
}
.fm-hero__foot { margin-top: 28px; display: grid; gap: 24px; justify-items: start; }
.fm-hero__foot p { max-width: 34rem; color: var(--on-dusk-muted); }
.fm-hero__foot .pill { gap: 12px; }
@media (min-width: 1024px) {
  .fm-hero { padding: 80px 0 96px; }
  .fm-hero__title { margin-top: 40px; }
  .fm-hero__foot { margin-top: 44px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 64px; }
  .fm-hero__foot p { font-size: 1.08rem; }
}

/* Who's writing */
.fm-who__grid { display: grid; gap: 28px; }
.fm-who__text { display: grid; gap: 16px; max-width: 36rem; color: var(--ink-2); }
.fm-who__text p:last-child { padding-left: 18px; border-left: 2px solid; border-image: linear-gradient(180deg, var(--blue), var(--violet) 55%, var(--rose)) 1; color: var(--ink); }
@media (min-width: 1024px) {
  .fm-who__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .fm-who__text { font-size: 1.05rem; }
}

/* The night: a dark band of hours */
.fm-night { position: relative; background: linear-gradient(180deg, var(--dusk-3), var(--dusk-2) 30%, var(--dusk-1)); color: var(--on-dusk); padding: 72px 0 40px; }
.fm-night::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.fm-night__head h2 { color: var(--on-dusk); }
.fm-night__head p:not(.eyebrow) { color: var(--on-dusk-muted); }
.hours { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hour { display: grid; gap: 6px; padding: 26px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hour:last-child { border-bottom: 0; }
.hour__time { width: min(78%, 360px); height: auto; overflow: visible; }
.hour__time text {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 150px;
  fill: none; stroke: url(#night-grad); stroke-width: 1.3px; vector-effect: non-scaling-stroke;
}
.hour__text h3 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.1; }
.hour__text p { margin-top: 8px; max-width: 34rem; color: var(--on-dusk-muted); }
@media (min-width: 768px) {
  .hour { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; align-items: center; padding: 34px 0 38px; }
  .hour__time { width: 100%; max-width: 440px; }
}
@media (min-width: 1024px) {
  .fm-night { padding: 120px 0 56px; }
  .hours { margin-top: 64px; }
  .hour { column-gap: 72px; padding: 40px 0 44px; }
  .hour__text h3 { font-size: 2.3rem; }
  .hour__text p { font-size: 1.05rem; }
}

/* Morning: after the horizon, on the day colour. The time turns solid. */
.fm-morning { padding: 56px 0 72px; background: var(--day); }
.fm-morning__grid { display: grid; gap: 18px; }
.fm-morning__time { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 14vw, 7rem); line-height: 1; color: var(--ink); }
.fm-morning__time svg { width: 56px; height: 42px; color: var(--ink); flex: none; }
.fm-morning__text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 6.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.012em; }
.fm-morning__text p { margin-top: 14px; max-width: 36rem; color: var(--muted); }
@media (min-width: 768px) {
  .fm-morning__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; align-items: start; }
}
@media (min-width: 1024px) {
  .fm-morning { padding: 72px 0 120px; }
  .fm-morning__grid { column-gap: 72px; }
  .fm-morning__time svg { width: 72px; height: 54px; }
  .fm-morning__text p { font-size: 1.05rem; }
}

/* The voice guide */
.fm-guide__grid { display: grid; gap: 36px; }
.fm-guide__list { border-top: 1px solid var(--rule-strong); }
.fm-guide__list li { position: relative; padding: 18px 0 20px 30px; border-bottom: 1px solid var(--rule); color: var(--muted); }
.fm-guide__list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 18px; height: 2px; background: var(--horizon); }
.fm-guide__list strong { display: block; margin-bottom: 2px; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--ink); }
@media (min-width: 1024px) {
  .fm-guide__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .fm-guide__grid .sec-head { position: sticky; top: calc(var(--top-h) + 32px); }
  .fm-guide__list strong { font-size: 1.8rem; }
}

/* Yes / no ledger: the yes column on white, the no column in the night's ink */
.ledger { margin-top: 44px; display: grid; gap: 16px; }
.ledger__col { padding: 24px 22px 26px; border: 1px solid var(--rule); }
.ledger__col h3 { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.ledger__col h3::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--horizon); }
.ledger__col li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.ledger__col li:last-child { border-bottom: 0; padding-bottom: 0; }
.ledger__col--yes { background: var(--card); }
.ledger__col--no { background: var(--dusk-1); border-color: var(--dusk-1); color: var(--on-dusk); }
.ledger__col--no li { border-color: rgba(255, 255, 255, .14); }
@media (min-width: 768px) {
  .ledger { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px; }
  .ledger__col { padding: 32px 34px 34px; }
  .ledger__col li { font-size: 1.6rem; }
}
@media (min-width: 1280px) {
  .ledger__col { padding: 44px 48px 46px; }
  .ledger__col li { font-size: 1.85rem; }
}

/* Paid messages */
.fm-ppv__grid { display: grid; gap: 24px; }
.fm-ppv__text { display: grid; gap: 16px; max-width: 36rem; color: var(--ink-2); }
@media (min-width: 1024px) {
  .fm-ppv__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .fm-ppv__text { font-size: 1.05rem; }
}

/* Read next: one line under the questions */
.fm-next { margin-top: 32px; max-width: 40rem; color: var(--ink-2); }

/* Call to action: dusk again, closed by the horizon */
.fm-cta { position: relative; background: var(--dusk); color: var(--on-dusk); padding: 64px 0 72px; }
.fm-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--horizon); }
.fm-cta__grid { display: grid; gap: 26px; }
.fm-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: .98; letter-spacing: -.02em; max-width: 11ch; }
.fm-cta__act { display: grid; gap: 18px; justify-items: start; }
.fm-cta__act p { color: var(--on-dusk-muted); max-width: 28rem; }
.fm-cta__act .pill { gap: 12px; }
@media (min-width: 1024px) {
  .fm-cta { padding: 112px 0 120px; }
  .fm-cta__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 72px; align-items: end; }
}

/* Motion (only with fan-messaging.js, which sets html.fm-js). Each row comes in 10px, --i apart in a batch. */
@media (prefers-reduced-motion: no-preference) {
  .fm-js .reveal:not(.is-visible) { opacity: 0; transform: translateY(10px); }
  .fm-js .reveal {
    transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fm-js .reveal:not(.is-visible) { opacity: 0; }
  .fm-js .reveal { transition: opacity 260ms ease; }
}
@media print {
  .fm-js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Updated date: under the lead, in the eyebrow's spaced caps. */
.fm-hero__foot .fm-hero__updated { margin-top: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
