/* ==========================================================================
   04 Closing CTA + 05 Footer (one Slate surface)
   A channel of marks on the How We Work grid, three rows tall at the button and opening toward the right edge.
   Hovering or focusing the button turns the field Sage. On phones the channel opens beneath the button.
   ========================================================================== */

.ending { position: relative; overflow: hidden; background: var(--slate); }
.ending__field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ending__field line { stroke: var(--c); transition: stroke .45s var(--ease) var(--d, 0s); }
.ending.attend .ending__field line { stroke: var(--cs); }

.invite { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; padding: 128px var(--m) 136px; }
.invite__text { grid-column: 1 / 7; }
.invite .eyebrow { margin-bottom: 20px; color: rgba(246, 244, 239, .72); }
.invite h2 { margin: 0; max-width: 9.6em; font-family: var(--display); font-stretch: 92%; font-weight: 460; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -0.024em; text-wrap: balance; }
.invite p { margin: 28px 0 0; max-width: 31em; font-size: 18px; line-height: 1.6; color: rgba(246, 244, 239, .82); }
.invite .btn { min-height: 58px; margin-top: 40px; }

/* footer: closed by one fine rule; two quiet rows */
.site-footer { position: relative; margin: 0 var(--m); padding: 36px 0 34px; border-top: 1px solid rgba(246, 244, 239, .16); }
.site-footer__row { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.site-footer__row + .site-footer__row { margin-top: 18px; }
.site-footer .wordmark { padding: 0; }
.site-footer .wordmark .logo { height: 36px; }
@media (min-width: 761px) { .site-footer__row:first-child { align-items: center; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; padding: 6px 0; font-size: 15px; font-weight: 500; text-decoration: underline 1.5px transparent; text-underline-offset: 7px; transition: text-decoration-color .2s var(--ease); }
.footer-nav a:hover { text-decoration-color: var(--sage); }
.descriptor { margin: 0; font-size: 15px; color: rgba(246, 244, 239, .72); }
.small-print { display: flex; align-items: baseline; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: rgba(246, 244, 239, .66); }

/* tablet: the text takes the full measure; the channel opens to the right of the button */
@media (max-width: 1000px) {
  .invite { padding: 112px var(--m) 120px; }
  .invite__text { grid-column: 1 / -1; }
}
/* phones: the footer stacks; the channel opens beneath the full-width button */
@media (max-width: 760px) {
  .invite { display: block; padding: 88px var(--m) 152px; }
  .invite .btn { width: 100%; justify-content: space-between; }
  .site-footer__row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer__row + .site-footer__row { margin-top: 26px; }
  .footer-nav { gap: 4px 28px; }
  .small-print { flex-wrap: wrap; gap: 8px 24px; }
}
