/* HVO brand lockup — replaces the Aeline logo in the navbar + footer
   (Mena, 2026-07-14). Spinning HVO mark (outer ring 14.7s, same as the
   preloader) + "Human Voice Over" wordmark.

   The lockup <span> carries the ORIGINAL img classes (navbar_logo /
   navbar_logo.is-black / footer_logo) so the template's own show/hide
   variant rules keep working untouched; all layout happens on the inner
   .hvo-lockup-row, so the template can set display:block/none freely. */

.hvo-lockup-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hvo-lockup-mark {
  position: relative;
  width: 1.875rem;
  height: 1.875rem;
  flex-shrink: 0;
}

.hvo-lockup-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hvo-lockup-outer {
  animation: hvo-lockup-spin 14.7s linear infinite;
}

@keyframes hvo-lockup-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hvo-lockup-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

/* The original logo link is a fixed 10rem box — too narrow for the
   longer wordmark. Let it size to content. */
.navbar_logo-link {
  width: auto !important;
}

/* Nav, white variant (dark navbar contexts): white text, logo inverted
   to white (the SVGs are solid black). !important beats the dark-mode
   img brightness filter. */
.navbar_logo.hvo-lockup {
  color: #fff;
}
.navbar_logo.hvo-lockup .hvo-lockup-mark img {
  filter: invert(1) !important;
}

/* Nav, black variant (light pages via Webflow variant class) */
.navbar_logo.is-black.hvo-lockup {
  color: #131313;
}
.navbar_logo.is-black.hvo-lockup .hvo-lockup-mark img {
  filter: none !important;
}

/* Dark theme: whichever variant the page shows, render it white */
html[data-theme="dark"] .navbar_logo.hvo-lockup,
html[data-theme="dark"] .navbar_logo.is-black.hvo-lockup {
  color: #fff;
}
html[data-theme="dark"] .navbar_logo.hvo-lockup .hvo-lockup-mark img,
html[data-theme="dark"] .navbar_logo.is-black.hvo-lockup .hvo-lockup-mark img {
  filter: invert(1) !important;
}

/* Footer sits on a dark surface in both themes: always white */
.footer_logo.hvo-lockup {
  color: #fff;
}
.footer_logo.hvo-lockup .hvo-lockup-mark img {
  filter: invert(1) !important;
}

/* ── Footer refresh (2026-08-17) ──────────────────────────────────────
   Newsletter form replaced by Get Started + back-to-top; trusted-by
   avatars row + "YouTube is global" copy under the lockup. The trust
   label/avatar treatment mirrors the retired pre-footer CTA
   (footer-globe/footer-globe.css, kept as rollback). */

.hvo-footer-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hvo-footer-trust-label {
  color: var(--grey--grey-300);
  font-family: Geistmono, ui-monospace, monospace;
  font-size: clamp(0.68rem, 0.77vw, 0.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hvo-footer-trust .avatars-wrap {
  margin-left: 0.2rem;
}

.hvo-footer-trust .avatar-item {
  width: clamp(2.2rem, 2.6vw, 2.6rem);
  height: clamp(2.2rem, 2.6vw, 2.6rem);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.32);
}

.hvo-footer-tagline {
  color: var(--text-color--text-on-primary);
  font-size: clamp(1.35rem, 1.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hvo-footer-actions {
  gap: 0.75rem;
}

/* Layout v3 (final polish, Mena 2026-08-17): trust row top-right; link
   columns flush right, level with the tagline + buttons; tightened
   vertical rhythm; hairline divider above the legal row; deliberate
   mobile layout (full-width action pills, 3-column link directory,
   centered bottom bar). */
.footer_right .hvo-footer-trust {
  grid-column: 1 / -1;
}

/* Compact link rows — the template's all-round padding made the
   directory read taller than its neighbors and kept the last column
   off the right edge. */
.footer_right .footer_link {
  padding: 0.35rem 0;
}

/* Hairline divider above the legal row, both breakpoints. */
.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

@media (min-width: 992px) {
  .footer_right {
    grid-template-columns: repeat(3, auto);
    grid-column-gap: clamp(2.5rem, 4vw, 5rem);
    justify-content: end;
    align-content: space-between;
  }
  .footer_right .hvo-footer-trust {
    justify-self: end;
  }
  /* Logo + headline read as one unit; keep the pair tight. */
  .footer_content-wrap {
    grid-row-gap: 1.75rem;
  }
  /* Guarantee air between the headline and the action pills even when
     the right-hand directory sets the row height. */
  .hvo-footer-actions {
    margin-top: 1.5rem;
  }
  /* Keep the copyright clear of the floating theme toggle. */
  .footer_bottom .text-color-on-secondary {
    margin-right: 3rem;
  }
}

@media (max-width: 991px) {
  /* Full-width action pills: label left, arrow circle right. */
  .hvo-footer-actions {
    flex-flow: column;
    width: 100%;
  }
  .hvo-footer-actions .button-arrow {
    width: 100%;
  }
  .hvo-footer-actions .button-arrow_wrap {
    width: 100%;
    justify-content: space-between;
  }
  /* Three tidy columns across the card instead of the template's
     lopsided two-column wrap (which stranded the socials underneath). */
  .footer_right {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    grid-row-gap: 1.5rem;
  }
  .footer_bottom {
    margin-top: 0;
    grid-row-gap: 0.75rem;
  }
  .footer_bottom .text-color-on-secondary {
    max-width: 26ch;
    text-align: center;
  }
}

/* Ghost variant of the template's arrow pill for the back-to-top control. */
.button-arrow.hvo-back-top {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-color--text-on-primary);
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.button-arrow.hvo-back-top:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
.button-arrow.hvo-back-top .button-arrow_bg {
  display: none;
}
.button-arrow.hvo-back-top .button-arrow_text {
  color: inherit;
}
.button-arrow.hvo-back-top .button_container-arrow {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color--text-on-primary);
}
.button-arrow.hvo-back-top .icon-1x1-main {
  transform: rotate(-45deg);
}
