.hero {
  background: #21638c;
}
.hero .water {
  background-color: #397ead;
}
.hero-portrait {
  position: absolute;
  z-index: 0;
  width: min(58vh, 43vw);
  height: auto;
  max-height: 75%;
  inset: 8% auto auto 50%;
  transform: translateX(-50%);
  object-fit: contain;
  filter: saturate(0.76) brightness(0.86) contrast(1.08);
  opacity: 0.68;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 51% 53% at 50% 43%,
    #000 44%,
    #000a 70%,
    transparent 99%
  );
  mix-blend-mode: luminosity;
}
.hero[data-water-state="ready"] .hero-portrait {
  opacity: 0;
}
.hero-shade {
  background:
    linear-gradient(
      180deg,
      #0e2d48cb 0%,
      #143e5b32 20%,
      transparent 35%,
      transparent 47%,
      #10325c18 59%,
      #0b2c48dd 100%
    ),
    radial-gradient(ellipse at 50% 95%, #0a293b7a, transparent 62%);
}
.hero-bottom {
  bottom: clamp(3.4rem, 10svh, 6rem);
  text-align: center;
}
.hero-motto {
  margin: 0 auto;
  max-width: 24ch;
  color: #fff;
  font-size: clamp(2.1rem, 4.7vw, 5rem);
  font-weight: 480;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero .motion-control {
  top: auto;
  bottom: 0.58rem;
  right: var(--gutter);
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  opacity: 0.61;
  background: transparent;
  border-radius: 50%;
}
.hero .motion-control:is(:hover, :focus-visible) {
  opacity: 1;
  background: #10273c9c;
}
.motion-control .play-shape,
.motion-control[aria-pressed="true"] .pause-shape {
  display: none;
}
.motion-control[aria-pressed="true"] .play-shape {
  display: initial;
}
.art-flag {
  background: #73a7cf url("./assets/bandeira-foto.webp") center / cover;
}
.art-flag video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-flag .media-toggle {
  top: auto;
  bottom: 0.35rem;
  right: 0.35rem;
  min-height: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0.65;
  text-shadow: 0 1px 4px #08101e;
}
.art-flag .media-toggle:is(:hover, :focus-visible) {
  opacity: 1;
  background: #101e32b0;
}
.art-flag .play-shape,
.art-flag [aria-pressed="true"] .pause-shape {
  display: none;
}
.art-flag [aria-pressed="true"] .play-shape {
  display: initial;
}
.site-header .brand {
  position: relative;
}
html[data-intro] .site-header .header-lockup {
  opacity: 0;
}
html[data-intro-complete] .site-header .header-lockup {
  animation: lockup-in 0.48s ease-out both;
}
@keyframes lockup-in {
  from {
    clip-path: inset(0 57% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
.intro-assembly {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}
.intro-slab {
  position: absolute;
  width: 100%;
  height: 51%;
  background: #0f1b2d;
  transition: translate 0.58s cubic-bezier(0.76, 0, 0.22, 1);
}
.intro-upper {
  inset: 0 0 auto;
}
.intro-lower {
  inset: auto 0 0;
}
.intro-assembly[data-opening] .intro-upper {
  translate: 0 -101%;
}
.intro-assembly[data-opening] .intro-lower {
  translate: 0 101%;
}
.intro-frame,
.intro-flight {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(46vw, 285px);
}
.intro-frame {
  aspect-ratio: 280 / 172;
  background: url("./assets/abertura-marca.webp") no-repeat;
  background-size: 500% 400%;
  background-position: var(--fx, 0%) var(--fy, 0%);
}
.intro-flight {
  height: auto;
}
.about-dialog.about-editorial {
  background: #101923;
}
.about-editorial .menu-inner {
  min-height: 100%;
  background: radial-gradient(ellipse at 31% 72%, #2b4154, #101a26 62%);
}
.about-editorial .about-layout {
  display: grid;
  align-items: stretch;
  min-height: calc(100svh - var(--header) - 32px);
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: 0;
  padding-block: clamp(1rem, 3.2svh, 2rem);
}
.about-editorial .about-features {
  display: grid;
  align-content: stretch;
  min-width: 0;
}
.about-editorial .about-scene {
  position: relative;
  display: grid;
  align-content: end;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(66svh, 44rem);
  overflow: hidden;
  gap: 0;
}
.about-editorial .about-scene img {
  position: absolute;
  bottom: 0;
  left: 1%;
  width: min(64%, 26rem);
  height: auto;
  max-height: 86%;
  object-fit: cover;
  object-position: center 24%;
  aspect-ratio: 3/4;
}
.about-editorial .about-steps {
  position: relative;
  z-index: 1;
  display: block;
  max-width: calc(100% - 2rem);
  font-size: clamp(2.25rem, 4.45vw, 6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin: 0 0 2.4rem 38%;
  padding: 0;
  list-style: none;
  color: #f6fbff;
  text-shadow: 0 3px 13px #0a1927b0;
}
.about-editorial .about-steps li {
  display: block;
  white-space: nowrap;
  padding-block: 0.052em;
}
.about-editorial .about-steps li:nth-child(even) {
  margin-inline-start: 0.145em;
}
.about-editorial .about-steps li::before {
  content: none;
}
.about-editorial .about-portrait-motto {
  font-size: clamp(1.65rem, 3.9vw, 4rem);
  max-width: 9.8ch;
  line-height: 0.98;
  text-wrap: balance;
}
.about-editorial .about-sheet {
  background: #fbfaf3;
  color: #111c24;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 3.8rem);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: start;
}
.about-editorial .about-index {
  display: grid;
  gap: 0.22em;
}
.about-editorial .about-index button {
  width: 100%;
  border: 0;
  color: #63717a;
  padding: 0.12em 0;
  min-height: 44px;
  font-size: clamp(1.65rem, 4.1vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.072em;
}
.about-editorial
  .about-index
  button:is(:hover, :focus-visible, [aria-pressed="true"]) {
  color: #121b22;
}
.about-press {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: #254560;
  font-size: 0.9rem;
  text-decoration: none;
}
.about-press:hover {
  color: #091d30;
  text-decoration: underline;
}
@media (max-width: 660px) {
  .hero-portrait {
    width: min(94vw, 49vh);
    inset-block-start: 16%;
  }
  .hero-bottom {
    bottom: clamp(3.8rem, 11svh, 5.55rem);
  }
  .hero-motto {
    max-width: 16ch;
  }
  .about-editorial .about-layout {
    grid-template-columns: 1fr;
    display: grid;
  }
  .about-editorial .about-scene {
    min-height: 46svh;
  }
  .about-editorial .about-scene img {
    max-height: 97%;
    width: min(66vw, 19rem);
  }
  .about-editorial .about-steps {
    font-size: clamp(1.8rem, 8.2vw, 3.6rem);
    margin-inline-start: 49%;
    margin-block-end: 1rem;
  }
  .about-editorial .about-portrait-motto {
    font-size: clamp(1.5rem, 6vw, 2.35rem);
  }
  .about-editorial .about-sheet {
    gap: 0.4rem;
    align-items: stretch;
    padding: 0.65rem 0.9rem;
  }
  .about-editorial .about-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.6rem;
  }
  .about-editorial .about-index button {
    font-size: clamp(1.12rem, 4.1vw, 1.65rem);
    letter-spacing: -0.04em;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-intro-complete] .site-header .header-lockup {
    animation: none;
  }
}
