@font-face {
  font-family: "Hanken Grotesk Navigation";
  src: url("/_8lab-migracao/assets/fonts/hanken-grotesk-nav-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --lab8-header-h: clamp(56px, 8vh, 84px);
  --lab8-pad: clamp(20px, 5.5vw, 88px);
  --lab8-header-bg: linear-gradient(90deg, #000, #151937);
}

.lab8-header, .lab8-header *, .lab8-header *::before, .lab8-header *::after { box-sizing: border-box; }

.lab8-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2.2vw, 32px);
  height: var(--lab8-header-h);
  padding: 0 var(--lab8-pad);
  background: var(--lab8-header-bg);
  color: #fff;
}

.lab8-internal-header { position: sticky; }
.lab8-header .lab8-logo { display: flex; align-items: center; min-height: 44px; }
.lab8-header .lab8-logo img { display: block; height: clamp(26px, 3.8vh, 36px); width: auto; }
.lab8-header .reading-progress { background: #ffe000; }
.lab8-header :focus-visible { outline: 2px solid #ffe000; outline-offset: 2px; }

.lab8-preview-phone {
  display: none;
  margin-inline-start: auto;
  color: #d5d7ee;
  font: 500 .8rem/1.25 "Hanken Grotesk Navigation", Arial, sans-serif;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .lab8-preview-phone { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; }
}

.lab8-hero__corner span { display: block; }
.lab8-hero__corner span + span { margin-top: .45em; }
.site-navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: .28em; }
.explore-link {
  display: inline-flex; align-items: center; justify-self: start; gap: .85rem;
  min-height: 44px; padding-block: .45rem; z-index: 4;
  font-size: .95rem; font-weight: 500; text-underline-offset: .32em;
}
.explore-link span:last-child { color: var(--lab8-yellow); }
.lab8-hero.is-motion .explore-link {
  position: absolute; left: var(--lab8-pad); bottom: clamp(14px,4vh,50px);
}
.lab8-hero:not(.is-motion) .explore-link { display: none; }

.lab8-header .site-navigation {
  display: block; position: relative; pointer-events: auto;
  font: 500 .93rem/1.25 "Hanken Grotesk Navigation", Arial, sans-serif;
  background: #151722; color: #fff; border: 1px solid #464650; border-radius: .55rem;
}
.site-navigation ul { list-style: none; padding: 0; margin: 0; }
#menu-links { display: flex; align-items: center; padding-inline: .4rem; }
.lab8-header .site-navigation :is(a,summary,button) {
  display: flex; align-items: center; gap: .4rem; min-height: 44px;
  padding: .6rem .8rem; font: inherit; color: inherit; text-decoration: none; cursor: pointer;
}
.site-navigation summary { list-style: none; }
.site-navigation summary::-webkit-details-marker { display: none; }
.site-navigation summary::after { content: ''; width: .38rem; height: .38rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-.1rem) rotate(45deg); }
.site-navigation details[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
.site-navigation details { position: relative; }
.site-navigation details ul {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 10rem;
  padding: .24rem; border-radius: .45rem; background: #151722; border: 1px solid #464650;
}
.lab8-header .site-navigation :is(a,summary):is(:hover,:focus-visible), .lab8-header .site-navigation details[open] > summary { color: #ffe000; }
.lab8-header .site-navigation a.site-navigation-proposal {
  background: #ffe000; color: #151722; border-radius: .3rem;
}
.lab8-header .site-navigation a.site-navigation-proposal:is(:hover,:focus-visible) {
  background: #fff1a2; color: #151722;
}
.lab8-header .site-navigation .menu-toggle { display: none; font: inherit; border: 0; background: transparent; }
@media(max-width: 899px) {
  .lab8-header .site-navigation .menu-toggle { display: flex; }
  .menu-toggle::after { content: '☰'; font-size: 1.1em; }
  .menu-toggle[aria-expanded=true]::after { content: '×'; }
  #menu-links {
    display: none; position: absolute; top: calc(100% + 5px); left: 0;
    width: min(16rem, calc(100vw - 110px)); max-height: calc(100svh - var(--lab8-header-h) - 12px); overflow: auto;
    padding: .4rem; background: #151722; border: 1px solid #464650; border-radius: .5rem;
  }
  .menu-toggle[aria-expanded=true] + #menu-links { display: block; }
  .site-navigation details ul { position: static; padding: 0 0 .25rem .8rem; border: 0; }
  .site-navigation :is(a,summary) { justify-content: space-between; }
}
@media(max-width: 899px) and (max-height: 725px) {
  .lab8-hero.is-motion .lab8-hero__phrase { top: 23%; }
}


@media (scripting: none) and (max-width: 899px){
  .lab8-header{position:relative;height:auto;display:block;padding-block:1rem}
  .site-navigation{margin-top:.75rem}
  .lab8-header .site-navigation .menu-toggle{display:none}
  #menu-links{display:block;position:static;width:auto;max-height:none;border:0}
}

.lab8-editorial { margin: 0; }
.lab8-editorial img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .lab8-hero__corner {
    color: #e2e3eb;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-weight: 500;
    letter-spacing: .055em;
    text-align: right;
  }
  .lab8-hero__corner {
    max-width: calc(100% - 2 * var(--lab8-pad) - 112px);
    font-size: clamp(1rem, 1.2vw, 1.25rem);
  }
  .lab8-hero__corner span { white-space: nowrap; }
  .lab8-hero.is-motion .lab8-hero__corner {
    right: max(var(--lab8-pad), 88px);
    bottom: clamp(16px, 2.6vh, 38px);
  }
  .lab8-hero:not(.is-motion) .lab8-hero__fallback { margin-bottom: clamp(8px, 2vh, 22px); }
  .lab8-hero.is-motion .lab8-hero__column {
    margin-block-end: clamp(24px, 5.2vh, 52px);
  }
  .lab8-hero:not(.is-motion) .lab8-hero__stage {
    grid-template-areas: "phrase fig" "col fig" "corner corner";
    padding-bottom: calc(clamp(20px, 4vh, 48px) + clamp(24px, 5.2vh, 52px));
  }
  .lab8-hero:not(.is-motion) .lab8-hero__corner { justify-self: end; max-width: 100%; }
}

@media (max-width: 899px) {
  .lab8-hero.is-motion .lab8-hero__column {
    padding-bottom: max(49px, var(--lab8-corner-space, 0px));
  }
  .lab8-hero.is-motion .lab8-hero__corner {
    left: auto;
    right: var(--lab8-pad);
    bottom: 68px;
    width: min(36ch, calc(100% - 2 * var(--lab8-pad)));
    font-size: .86rem;
    line-height: 1.3;
  }
  .lab8-hero.is-motion .explore-link { bottom: 12px; }
}
