/* Afterglow Talent: girlfriend experience (girlfriend-experience.html only). Loaded after styles.css and uses its tokens.
   The page follows a GFE day: a short dusk hero, a dictionary-style entry for the term, then the day itself as four
   cards that darken from morning light to night, warm lines set against lines that go too far, the rules as a dark
   band of numbered lines, the creator's own list beside kind refusals, the team, how it's paid for, one night band
   with an outlined "Good night.", the questions, and a dusk call to action. Motion: rows marked .reveal come in once,
   in order (fan-messaging.js, shared with the other guides, sets html.fm-js). */

/* Hero */
.gx-hero { position: relative; background: var(--dusk); color: var(--on-dusk); padding: 44px 0 60px; }
.gx-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.gx-hero__title {
  margin-top: 26px; max-width: 14ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 12vw, 8.2rem); line-height: .94; letter-spacing: -.022em;
}
.gx-hero__foot { margin-top: 28px; display: grid; gap: 24px; justify-items: start; }
.gx-hero__foot p { max-width: 36rem; color: var(--on-dusk-muted); }
.gx-hero__foot .pill { gap: 12px; }
.gx-hero__foot .gx-hero__updated { margin-top: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
@media (min-width: 1024px) {
  .gx-hero { padding: 80px 0 96px; }
  .gx-hero__title { margin-top: 40px; }
  .gx-hero__foot { margin-top: 44px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 64px; }
  .gx-hero__foot p { font-size: 1.08rem; }
}

/* The term: a dictionary entry, then plain paragraphs */
.gx-term__grid { display: grid; gap: 28px; }
.gx-term__body { display: grid; gap: 16px; max-width: 38rem; color: var(--ink-2); }
.gx-entry { padding: 4px 0 18px; border-bottom: 1px solid var(--rule-strong); font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: var(--ink); }
.gx-entry b { font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: .01em; margin-right: 6px; }
.gx-entry i { margin-right: 4px; color: var(--muted); }
@media (min-width: 1024px) {
  .gx-term__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .gx-term__body { font-size: 1.05rem; }
  .gx-entry { font-size: 1.9rem; }
  .gx-entry b { font-size: 3.2rem; }
}

/* A day of GFE: four cards that darken from morning to night, on one horizon rail */
.gx-arc { margin-top: 44px; display: grid; gap: 12px; }
.gx-arc__step { position: relative; padding: 26px 22px 28px; border: 1px solid var(--rule); }
.gx-arc__step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--horizon); }
.gx-arc__step:nth-child(1) { background: var(--card); }
.gx-arc__step:nth-child(2) { background: #E4E1F1; }
.gx-arc__step:nth-child(3) { background: var(--dusk-2); border-color: var(--dusk-2); color: var(--on-dusk); }
.gx-arc__step:nth-child(4) { background: var(--dusk-1); border-color: var(--dusk-1); color: var(--on-dusk); }
.gx-arc__when { font-size: .72rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-2); }
.gx-arc__step:nth-child(n+3) .gx-arc__when { color: var(--on-dusk-muted); }
.gx-arc__step h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.gx-arc__step p:not(.gx-arc__when) { margin-top: 8px; color: var(--muted); }
.gx-arc__step:nth-child(n+3) p:not(.gx-arc__when) { color: var(--on-dusk-muted); }
@media (min-width: 768px) {
  .gx-arc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .gx-arc { margin-top: 64px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .gx-arc__step { padding: 34px 28px 38px; }
  .gx-arc__step h3 { font-size: 2.3rem; }
}

.gx-not { margin-top: 16px; background: var(--card); border: 1px solid var(--rule); padding: 24px 22px 26px; }
.gx-not h3 { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.gx-not h3::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--horizon); }
.gx-not ul { margin-top: 6px; }
.gx-not li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.gx-not li:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 1024px) {
  .gx-not { margin-top: 24px; padding: 36px 40px 38px; }
  .gx-not ul { columns: 2; column-gap: 56px; }
  .gx-not li { break-inside: avoid; font-size: 1.55rem; }
  .gx-not li:last-child { border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
}

/* Warm, not false: two columns of example lines */
.gx-pairs { margin-top: 44px; border-top: 1px solid var(--rule-strong); }
.gx-pairs__head { display: none; }
.gx-pairs__row { display: grid; gap: 10px; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.gx-pairs__row p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.gx-pairs__row p:first-child { color: var(--ink); }
.gx-pairs__row p:last-child { padding-left: 16px; border-left: 2px solid var(--rose); color: var(--muted); font-style: italic; }
.gx-pairs__row p:first-child::before, .gx-pairs__row p:last-child::before {
  display: block; margin-bottom: 4px; font-family: var(--sans); font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.gx-pairs__row p:first-child::before { content: "Warm, and true"; }
.gx-pairs__row p:last-child::before { content: "Goes too far"; }
.gx-label { margin-top: 14px; font-size: .82rem; color: var(--muted); }
@media (min-width: 768px) {
  .gx-pairs__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
  .gx-pairs__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: baseline; padding: 24px 0 26px; }
  .gx-pairs__row p::before { display: none !important; }
  .gx-pairs__row p { font-size: 1.6rem; }
}
@media (min-width: 1024px) {
  .gx-pairs { margin-top: 64px; }
  .gx-pairs__row p { font-size: 1.85rem; }
}

.gx-habits { margin-top: 48px; display: grid; gap: 28px; }
.gx-habits li { position: relative; padding-top: 20px; color: var(--muted); }
.gx-habits li::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: var(--horizon); }
.gx-habits strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.12; color: var(--ink); }
@media (min-width: 1024px) {
  .gx-habits { margin-top: 72px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; }
  .gx-habits strong { font-size: 1.8rem; }
}

/* The lines: a dark band of numbered rules */
.gx-lines { position: relative; background: linear-gradient(180deg, var(--dusk-3), var(--dusk-2) 35%, var(--dusk-1)); color: var(--on-dusk); padding: 72px 0 64px; counter-reset: rule; }
.gx-lines::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.gx-lines__head h2 { color: var(--on-dusk); }
.gx-lines__head p:not(.eyebrow) { color: var(--on-dusk-muted); }
.gx-rules { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .16); }
.gx-rule { counter-increment: rule; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 24px 0 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gx-rule:last-child { border-bottom: 0; }
.gx-rule::before {
  content: counter(rule, decimal-leading-zero); grid-row: 1 / span 2;
  font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: .9;
  background: linear-gradient(90deg, #93A6FF, #B583F2 55%, #F28ACF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gx-rule h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.gx-rule p { margin-top: 6px; max-width: 38rem; color: var(--on-dusk-muted); }
@media (min-width: 768px) {
  .gx-rule { grid-template-columns: 96px minmax(0, 4fr) minmax(0, 6fr); column-gap: 40px; align-items: baseline; padding: 30px 0 32px; }
  .gx-rule::before { grid-row: auto; font-size: 3.4rem; }
  .gx-rule p { margin-top: 0; }
}
@media (min-width: 1024px) {
  .gx-lines { padding: 120px 0 88px; }
  .gx-rules { margin-top: 64px; }
  .gx-rule { grid-template-columns: 130px minmax(0, 4fr) minmax(0, 6fr); column-gap: 56px; }
  .gx-rule::before { font-size: 4.2rem; }
  .gx-rule h3 { font-size: 2.2rem; }
  .gx-rule p { font-size: 1.05rem; }
}

/* Your own list, lines for you, and kind refusals */
.gx-own__grid { display: grid; gap: 40px; }
.gx-own__col { display: grid; gap: 14px; max-width: 38rem; color: var(--ink-2); }
.gx-own__col h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.08; color: var(--ink); }
.gx-own__col h3 + p { margin-bottom: 18px; }
.gx-no { background: var(--card); border: 1px solid var(--rule); padding: 26px 22px 24px; align-self: start; }
.gx-no h3 { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.gx-no h3::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--horizon); }
.gx-no__intro { margin-top: 10px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.gx-no dl { margin: 18px 0 0; border-top: 1px solid var(--rule-strong); }
.gx-no dl div { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
.gx-no dt { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gx-no dd { margin: 6px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.22; color: var(--ink); }
@media (min-width: 1024px) {
  .gx-own__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; }
  .gx-own__col { font-size: 1.05rem; }
  .gx-own__col h3 { font-size: 2.4rem; }
  .gx-no { padding: 38px 40px 34px; position: sticky; top: calc(var(--top-h) + 32px); }
  .gx-no__intro { font-size: 1.8rem; }
  .gx-no dd { font-size: 1.55rem; }
}

/* With a team */
.gx-team__grid { display: grid; gap: 28px; }
.gx-team__text { display: grid; gap: 16px; max-width: 38rem; color: var(--ink-2); }
.gx-team__list { border-top: 1px solid var(--rule-strong); }
.gx-team__list li { position: relative; padding: 14px 0 16px 30px; border-bottom: 1px solid var(--rule); }
.gx-team__list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 18px; height: 2px; background: var(--horizon); }
@media (min-width: 1024px) {
  .gx-team__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .gx-team__text { font-size: 1.05rem; }
}

/* How it's paid for: three columns under horizon bars */
.gx-paid__grid { margin-top: 44px; display: grid; gap: 32px; }
.gx-paid__item { position: relative; padding-top: 20px; }
.gx-paid__item::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: var(--horizon); }
.gx-paid__item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.gx-paid__item p { margin-top: 8px; color: var(--muted); }
.gx-paid__after { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule-strong); max-width: 44rem; color: var(--ink-2); }
@media (min-width: 1024px) {
  .gx-paid__grid { margin-top: 64px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; }
  .gx-paid__item h3 { font-size: 2.1rem; }
  .gx-paid__after { margin-top: 56px; font-size: 1.05rem; }
}

/* After you log off: one night band with an outlined "Good night." */
.gx-night { position: relative; background: linear-gradient(180deg, var(--dusk-3), var(--dusk-2) 35%, var(--dusk-1)); color: var(--on-dusk); padding: 64px 0 76px; }
.gx-night::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.gx-night__grid { display: grid; gap: 24px; align-items: center; }
.gx-night__word { width: min(100%, 620px); height: auto; overflow: visible; }
.gx-night__word text {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 140px;
  fill: none; stroke: url(#night-grad); stroke-width: 1.4px; vector-effect: non-scaling-stroke;
}
.gx-night__copy { display: grid; gap: 16px; max-width: 36rem; }
.gx-night__copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.04; letter-spacing: -.015em; }
.gx-night__copy p:not(.eyebrow) { color: var(--on-dusk-muted); }
.gx-night__copy a { color: var(--on-dusk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (min-width: 1024px) {
  .gx-night { padding: 112px 0 120px; }
  .gx-night__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 72px; }
  .gx-night__copy p:not(.eyebrow) { font-size: 1.05rem; }
}

/* Call to action: dusk, opened by the horizon */
.gx-cta { position: relative; background: var(--dusk); color: var(--on-dusk); padding: 64px 0 72px; }
.gx-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--horizon); }
.gx-cta__grid { display: grid; gap: 26px; }
.gx-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; }
.gx-cta__act { display: grid; gap: 18px; justify-items: start; }
.gx-cta__act p { color: var(--on-dusk-muted); max-width: 28rem; }
.gx-cta__act .pill { gap: 12px; }
@media (min-width: 1024px) {
  .gx-cta { padding: 112px 0 120px; }
  .gx-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; }
}
