/* Closing panel after the micro1 footer: a rounded dark slab with the contact call,
   the small print, and a giant wordmark that rises out of the dark and runs off the bottom edge. */
.site-footer { padding: 0 clamp(0.5rem, 0.3rem + 0.6vw, 0.75rem) clamp(0.5rem, 0.3rem + 0.6vw, 0.75rem); }
.footer-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(16px, 0.75rem + 0.6vw, 24px);
  padding-top: clamp(4rem, 3rem + 4vw, 7.5rem);
  background:
    radial-gradient(70% 55% at 50% 105%, rgba(236, 229, 216, 0.06), transparent 70%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 247, 234, 0.06);
}
.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  border-bottom: 1px solid var(--hairline);
}
.footer-cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 1.2rem + 3.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--glow);
}
.footer-cta p { max-width: 28em; margin: 1.1rem 0 0; font-size: 1.05rem; color: var(--text-soft); text-wrap: pretty; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 1.75rem;
  font-size: 0.92rem;
}
.footer-bar p { margin: 0; color: var(--text-soft); }
.footer-bar ul { display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1rem, 0.5rem + 1vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.footer-bar a { text-decoration: none; color: rgba(236, 229, 216, 0.82); transition: color var(--duration-fast); }
.footer-bar a:hover, .footer-bar a:focus-visible { color: var(--glow); }

/* Sized so "orta labs" spans the content column; the bottom of the letters is cut by the panel. */
.footer-wordmark {
  margin: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0 -0.11em;
  /* room for the glyphs that tight tracking pushes past the box, or background-clip cuts them */
  padding-inline: 0.08em;
  /* "ortalabs" set this way is ~3.17em wide */
  font-size: calc(min(100vw - 2 * var(--gutter), var(--container)) / 3.2);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.76;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  color: transparent;
  background: linear-gradient(to bottom, rgba(236, 229, 216, 0.02) 0%, rgba(236, 229, 216, 0.1) 45%, rgba(236, 229, 216, 0.32) 100%);
  -webkit-background-clip: text;
          background-clip: text;
}
.footer-wordmark span { font-weight: 400; }

@supports (animation-timeline: view()) {
  .footer-wordmark {
    animation: wordmark-rise linear both;
    animation-timeline: view();
    /* ends once the word is fully in view, which the page can always scroll to */
    animation-range: entry 0% entry 100%;
  }
  @keyframes wordmark-rise {
    from { opacity: 0.2; transform: translateY(30%); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 760px) {
  .footer-cta { grid-template-columns: 1fr; align-items: start; }
  .footer-cta .btn { justify-self: start; }
}
