/* ============================================================
   footer.css — closing call-to-action, the oversized wordmark
   and the site footer with its sign-up panel
   ============================================================ */

/* ---- Call to action ----------------------------------------------- */
.promo {
  position: relative;
  z-index: 20;
  padding-block: 6rem;
  color: var(--c-white);
}
@media (min-width: 1280px) {
  .promo { padding-block: 10rem; }
}

.promo__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-inline: 1rem;
}
@media (min-width: 1024px) { .promo__inner { padding-inline: 2rem; } }
@media (min-width: 1280px) { .promo__inner { gap: 6rem; } }

.promo__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}
@media (min-width: 1280px) {
  .promo__top { flex-direction: row; gap: 8rem; }
}

.promo-copy {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 1280px) {
  .promo-copy { gap: 4rem; width: 75%; }
}
.promo-copy h4 {
  text-wrap: balance;
}
.promo-copy__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}
.promo-copy__body p {
  max-width: 500px;
}

/* active-user tally */
.count {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
@media (max-width: 1023.98px) {
  .count { align-items: flex-end; padding-top: 3rem; }
}
@media (max-width: 1279.98px) {
  .count { align-self: flex-end; }
}
@media (min-width: 1024px) {
  .count { width: 40%; }
}
@media (min-width: 1280px) {
  .count { width: 50%; padding-top: 15vw; }
}
.count__value {
  display: flex;
  justify-content: center;
  height: 0.75em;
  overflow: hidden;
  font-family: var(--font-display);
  /* sized so all four "200+" reel columns fit their equal flex slots
     (27vw suited the old two-digit tally but clips four glyphs) */
  font-size: 15vw;
  line-height: 0.75;
}
@media (max-width: 1023.98px) {
  .count__value { width: 40%; }
}
.count__value span {
  will-change: transform;
  font-variant-numeric: tabular-nums;
}
.count-col-0 { transform-origin: top; }
.count-col-1 { transform-origin: bottom; }

/* sell points */
.promo-items {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  align-self: flex-end;
  justify-content: space-between;
  padding-top: 4rem;
  border-top: 1px solid var(--c-white);
}
@media (min-width: 576px) { .promo-items { gap: 2rem; } }
@media (min-width: 1024px) { .promo-items { flex-direction: row; gap: 4rem; } }
@media (min-width: 1280px) { .promo-items { width: 85%; } }
@media (min-width: 1440px) { .promo-items { width: 75%; } }

.promo-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 350px;
}
.promo-item__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---- Wordmark + footer wrapper ------------------------------------ */
.foot-wrap {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1rem;
  padding-inline: 1rem;
  /* transparent: the wordmark rides the live scene like the CTA band; the
     opaque .pagefoot__panel below ends the scene with its chamfered edge. */
}
@media (min-width: 1024px) {
  .foot-wrap { padding-bottom: 2rem; padding-inline: 2rem; }
}

.logotype {
  margin-top: -0.05em;
  margin-bottom: -4vw;
  /* teal: reads on the lighter live scene (dark-on-light, like the reference) */
  color: var(--c-brown);
  font-family: var(--font-display);
  font-size: 15vw;
  line-height: 0.75;
  white-space: nowrap;
}
@media (min-width: 1280px) {
  .logotype { font-size: 16vw; }
}

/* ---- Site footer -------------------------------------------------- */
.pagefoot {
  position: relative;
  z-index: 20;
  /* .foot-wrap centers its children, so without an explicit width the
     footer shrinks to its content — stretch it (capped) instead */
  width: 100%;
  max-width: 1680px;
  display: flex;
  flex-direction: column;
  color: var(--c-brown);
}
/* HUD corner bracket where the chamfer notch used to be */
.pagefoot__panel::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--c-brown);
  border-left: 1px solid var(--c-brown);
  z-index: 21;
  pointer-events: none;
}

.pagefoot__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
  padding-inline: 1.5rem;
  /* frosted-glass card — uniformly rounded, no solid fill; the scene-backed
     wordmark above diffuses through the blur */
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  overflow: hidden;
}
@media (max-width: 575.98px) { .pagefoot__panel { padding-top: 0.5rem; } }
@media (min-width: 576px) { .pagefoot__panel { padding-inline: 2rem; } }
@media (min-width: 768px) { .pagefoot__panel { gap: 4rem; } }
@media (min-width: 1024px) { .pagefoot__panel { gap: 6rem; padding-inline: 4rem; } }

.pagefoot__cols {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---- "Let's talk" gravity pit --------------------------------------
   Full-width strip above the legal bar. The negative top margin cancels
   the panel's flex gap so the strip rises into the room freed by the
   removed form — the footer stays close to its original height. */
.talk-pit {
  position: relative;
  z-index: 20;
  height: 290px;
  margin-top: -2rem;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
@media (min-width: 768px) { .talk-pit { margin-top: -4rem; } }
@media (min-width: 1024px) { .talk-pit { margin-top: -6rem; } }
@media (max-width: 767.98px) {
  .talk-pit { height: 170px; }
}
.talk-letter {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  /* 40px floor keeps the full word inside the strip on narrow phones —
     the physics colliders are built from the rendered size, so the
     layout in talkpit.js follows automatically */
  font-size: clamp(40px, 13vw, 220px);
  line-height: 1;
  color: var(--c-brown);
  user-select: none;
  pointer-events: none;
  will-change: transform;
}
@media (min-width: 768px) { .pagefoot__cols { gap: 3rem; } }
@media (min-width: 1024px) { .pagefoot__cols { flex-direction: row; gap: 4rem; } }
@media (min-width: 1280px) { .pagefoot__cols { gap: 8rem; } }

.pagefoot__about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) { .pagefoot__about { width: 75%; } }
.pagefoot__logo {
  width: 100%;
  max-width: 200px;
  color: var(--c-brown);
}
/* Text wordmark variant of the footer logo */
.foot-logotype {
  width: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.pagefoot__tag {
  font-size: 0.875rem;
}
.pagefoot__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.5;
}
.pagefoot__contact a {
  width: fit-content;
  color: var(--c-burnt);
  text-decoration: none;
}
.pagefoot__contact a:hover { text-decoration: underline; }
.pagefoot__contact span { opacity: 0.75; }

.pagefoot__social {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
}
.share {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-brown);
  transition: background-color 0.25s ease;
}
.share__icon {
  position: relative;
  z-index: 10;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-brown);
  transition: color 0.25s ease;
}
/* drop the chamfered square background (markup left intact) */
.share__bg {
  display: none;
}
.share:hover {
  background-color: var(--c-brown);
}
.share:hover .share__icon {
  color: var(--c-white);
}

.pagefoot__links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}
@media (min-width: 1024px) { .pagefoot__links { width: 75%; } }
.pagefoot__linklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pagefoot__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  padding-top: 1rem;
}

.pagefoot__legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px dashed var(--c-brown);
  font-size: 0.75rem;
}
@media (min-width: 768px) { .pagefoot__legal { padding-block: 4rem; } }
@media (min-width: 1024px) {
  .pagefoot__legal {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }
}
.pagefoot__copy {
  width: 100%;
}
.pagefoot__policies {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .pagefoot__policies { align-items: center; justify-content: center; }
}
.pagefoot__divider {
  width: 1px;
  height: 0.75rem;
  background-color: var(--c-brown);
}
.pagefoot__credit {
  display: flex;
  width: 100%;
}
@media (min-width: 1024px) {
  .pagefoot__credit { justify-content: flex-end; }
}
