/* ===== ab-join: the page's last frame. Type-led, still, on the ground, lit from one small gold light.
   The question set wide across the top. Under it one rule runs the width of the page from a single gold
   light, warm where it starts and cooling as it travels: the page's idea, one person's light carried further,
   said once and quietly. On that rule three columns read left to right: who we look for, the one way in,
   and the two plain ways to reach us. ===== */
.ab-join { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section-gap-s) var(--space-3xl); }
.ab-join__frame { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.ab-join__frame > * { min-width: 0; }

.ab-join__title { grid-column: 1 / span 10; max-width: 17ch; }

.ab-join__rule {
  position: relative; z-index: 0; grid-column: 1 / -1; height: 1px; margin-top: var(--space-2xl);
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-rule) 22%, var(--color-rule-2) 55%);
}
.ab-join__rule::before {        /* the light the rule starts from: the hero's gold, small again */
  content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%); background: color-mix(in oklab, var(--color-gold) 70%, var(--color-ink));
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--color-gold) 24%, transparent), 0 0 22px 10px color-mix(in oklab, var(--color-dawn) 30%, transparent);
}
.ab-join__rule::after {         /* what it throws: a warm pool round the light, and azure carried out along the rule */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -220px; height: 440px;
  background:
    radial-gradient(ellipse 380px 230px at var(--gutter) 44%, color-mix(in oklab, var(--color-dawn) 36%, transparent), color-mix(in oklab, var(--color-dawn) 11%, transparent) 48%, transparent 78%),
    radial-gradient(ellipse 60% 110px at calc(var(--gutter) + 22%) 50%, color-mix(in oklab, var(--color-dawn) 18%, transparent), transparent 80%),
    radial-gradient(ellipse 80% 170px at calc(var(--gutter) + 52%) 50%, color-mix(in oklab, var(--color-accent-2) 34%, transparent), transparent 75%);
}
.ab-join__title, .ab-join__line, .ab-join__act, .ab-join__reach { position: relative; z-index: 1; }

.ab-join__line, .ab-join__act, .ab-join__reach { margin: 0; padding-top: var(--space-lg); }
.ab-join__line { grid-column: 1 / span 5; max-width: 40ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }
.ab-join__act { grid-column: 7 / span 3; }
.ab-join__btn { min-width: 11rem; }
.ab-join__reach { grid-column: 10 / -1; display: grid; justify-items: start; padding-left: 0; list-style: none; }

/* the two plain links: each on its own line, a full 44px target, an underline that firms up on hover */
.ab-join__link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--text-md); color: var(--color-ink); white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.26em;
  transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.ab-join__reach li:first-child .ab-join__link { min-height: 48px; }
.ab-join__link:hover { text-decoration-color: var(--color-ink); }
.ab-join__link:active { color: var(--color-ink-2); }
.ab-join__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }

@media (max-width: 75rem) {
  .ab-join__line { grid-column: 1 / span 6; }
  .ab-join__act { grid-column: 7 / span 3; }
  .ab-join__reach { grid-column: 10 / -1; }
}
@media (max-width: 60rem) {
  .ab-join__title { grid-column: 1 / -1; }
  .ab-join__line { grid-column: 1 / -1; }
  .ab-join__act { grid-column: 1 / span 6; padding-top: var(--space-xl); }
  .ab-join__reach { grid-column: 7 / -1; padding-top: var(--space-xl); }
}
@media (max-width: 40rem) {
  .ab-join { padding-block: var(--section-gap-s) var(--space-2xl); }
  .ab-join__rule { margin-top: var(--space-xl); }
  .ab-join__act, .ab-join__reach { grid-column: 1 / -1; }
  .ab-join__btn { width: 100%; }
  .ab-join__reach { padding-top: var(--space-md); }
}
