:root {
  --gold: 1.618034;
  --silver: 2.414214;
}
.site-header:not([data-theme="light"]) {
  color: #fff;
}
.site-header:not([data-theme="light"]) .brand img {
  filter: none;
}
.hero {
  color: #fff;
}
.hero-shade {
  background:
    linear-gradient(
      180deg,
      #0c345cbb,
      #164c7830 23%,
      transparent 40%,
      transparent 54%,
      #17446a46 72%,
      #103656a8
    ),
    radial-gradient(ellipse at 12% 98%, #0e375b8f, transparent 53%);
}
.hero h1 {
  width: min(calc(100% / var(--gold)), 50rem);
}
.hero h1 img {
  filter: none;
}
.hero-bottom {
  bottom: clamp(
    2.8rem,
    calc(100% / (var(--gold) * var(--silver) * var(--silver))),
    6.4rem
  );
}
.hero-mark {
  width: min(calc((100% - 2 * var(--gutter)) / var(--silver)), 32rem);
  right: calc(var(--gutter) + (100% - 2 * var(--gutter)) * 0.11);
  top: 38.2%;
  opacity: 1;
  transform: translate3d(
    var(--drift-x, 0px),
    calc(-50% + var(--drift-y, 0px)),
    0
  );
}
.motion-control {
  color: #fff;
  background: #103656a8;
  border: 1px solid #ffffff65;
  min-height: 38px;
  padding-inline: 0.72rem;
  border-radius: 2rem;
}
.about-dialog .menu-inner {
  background: radial-gradient(
    ellipse at 71% 46%,
    #293e54 0%,
    #162337 45%,
    #0c1524 88%
  );
}
.about-layout {
  min-height: calc(100svh - var(--header) - 26px);
  display: grid;
  grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 4vw, 6rem);
  align-items: center;
  padding-block: clamp(1.25rem, 4vw, 3rem);
}
.about-index {
  display: grid;
  align-content: center;
}
.about-index button {
  appearance: none;
  color: #a9b9ce;
  border: 0;
  border-bottom: 1px solid #bfd5ec24;
  background: transparent;
  font: inherit;
  font-size: clamp(1.45rem, 3.2vw, 4.6rem);
  font-weight: 490;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: start;
  padding: 0.24em 0 0.3em;
  min-height: 45px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.34s var(--ease);
}
.about-index button:is(:hover, :focus-visible, [aria-pressed="true"]) {
  color: #fff;
  transform: translateX(0.12em);
}
.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.51fr) minmax(0, 0.49fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.about-feature > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: calc(100svh - 9rem);
  object-fit: cover;
  object-position: center 21%;
  background: #9ec9ee;
}
.about-copy {
  display: grid;
  gap: 0.8rem;
}
.about-copy h2 {
  font-size: clamp(1.55rem, 3.6vw, 4.2rem);
  font-weight: 510;
  letter-spacing: -0.06em;
  line-height: 1;
  text-wrap: balance;
}
.about-copy > p:not(.about-cycle-title) {
  color: #c8d8eb;
  max-width: 36ch;
  line-height: 1.5;
}
.about-copy .text-link {
  text-decoration: none;
  color: #c8e7ff;
}
.about-copy .text-link:hover {
  color: #fff;
  text-shadow: 0 0 14px #83beff99;
}
.about-cycle-title {
  margin-block-start: 0.25rem;
  color: #d2e5f9;
  font-weight: 600;
  font-size: 0.84rem;
}
.about-copy ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.65rem;
  font-size: 0.9rem;
}
.about-copy li + li::before {
  content: "→";
  margin-inline-end: 0.66rem;
  color: #94c5f5;
}
.archive {
  color: #eef6fd;
  background: #112237;
  --rule: #9dc4dd51;
}
.archive-body a {
  text-decoration: none;
  color: #dce8ec;
  transition:
    color 0.22s ease,
    text-shadow 0.25s ease;
}
.archive-body a:is(:hover, :focus-visible) {
  color: #fff;
  text-shadow: 0 0 14px #9bd9ffb0;
}
.archive-body li:not(:has(a)) {
  color: #acb9b9;
}
.archive-body a span[aria-hidden] {
  margin-inline-start: 0.45rem;
  color: #aac1ce;
}
.music-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}
.media-toggle {
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 5;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 2rem;
  background: #081526dc;
  color: #fff;
  border: 1px solid #f0f7ff64;
  padding: 0 0.75rem;
  cursor: pointer;
  font-size: 0.74rem;
}
.book-editions[data-ready] .book {
  transform: perspective(650px) translate(-50%, -50%) translateX(38%)
    rotateY(35deg) rotateZ(9deg) scale(0.86);
  transition:
    transform 0.74s var(--ease),
    opacity 0.52s ease;
}
.book-editions[data-ready][data-direction="back"] .book {
  transform: perspective(650px) translate(-50%, -50%) translateX(-38%)
    rotateY(-35deg) rotateZ(-9deg) scale(0.86);
}
.book-editions[data-ready] .book[data-current][data-current] {
  transform: perspective(650px) translate(-50%, -50%) rotateY(-12deg)
    rotateZ(-5deg);
}
.minimal-series {
  position: absolute;
  inset: 0;
}
.minimal-kit {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
}
.minimal-kit:not(:first-child) {
  visibility: hidden;
}
.minimal-series[data-ready] .minimal-kit {
  visibility: visible;
  opacity: 0;
  transform: translate3d(6%, 1%, 0) scale(0.96);
  transition:
    opacity 0.52s ease,
    transform 0.7s var(--ease);
}
.minimal-series[data-ready] .minimal-kit[data-current] {
  z-index: 1;
  opacity: 1;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1);
}
.minimal-kit img {
  position: absolute;
  object-fit: contain;
  width: auto;
}
.kit-box {
  height: 65%;
  left: 14%;
  top: 13%;
  transform: rotate(-6deg);
  box-shadow: 0px 16px 22px #17242530;
}
.kit-stack {
  height: 55%;
  left: 42%;
  top: 20%;
  transform: rotate(6deg);
  box-shadow: 0px 12px 22px #17242530;
}
.kit-card1,
.kit-card2 {
  height: 40%;
  top: 32%;
  box-shadow: 0px 10px 17px #17242555;
  border-radius: 6%;
}
.kit-card1 {
  left: 66%;
  transform: rotate(-13deg);
}
.kit-card2 {
  left: 73%;
  transform: translateY(8%) rotate(13deg);
}
.art-flag {
  background: #6198c6 url("./assets/bandeira-cena.webp") center / cover;
}
.art-flag canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.36s ease;
}
.art-flag[data-flag-state="ready"] canvas {
  opacity: 1;
}
.contact-footer {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: clamp(1.5rem, 6vw, 7rem);
}
.contact-intro {
  min-width: 0;
  display: grid;
  gap: 1rem;
}
.contact-footer h2 {
  margin: 0;
}
.contact-footer .social-links,
.contact-page .social-links {
  margin-block: 0.42rem 1.1rem;
  display: grid;
  grid-template-columns: repeat(6, 44px);
  width: fit-content;
  gap: clamp(0.15rem, 1.1vw, 0.6rem);
}
.contact-footer .social-links a,
.contact-page .social-links a {
  width: 44px;
  height: 44px;
}
.contact-page .social-links a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-color: #0d2b4558;
}
.contact-page .social-links a:hover {
  background: var(--sea);
  color: #fff;
}
.contact-institutional {
  text-decoration: none;
  width: fit-content;
}
.contact-institutional:hover {
  color: #94c5f5;
}
.contact-form {
  display: grid;
  gap: 1.05rem;
  min-width: 0;
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 610;
}
.contact-form :is(input, select, textarea) {
  min-width: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 420;
  padding: 0.68rem 0.76rem;
  min-height: 46px;
  border: 1px solid currentColor;
  border-radius: 0;
}
.contact-footer .contact-form select option {
  background: var(--night);
  color: #fff;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form button {
  justify-self: start;
  min-height: 46px;
  padding: 0.62rem 0.85rem;
  color: #13293c;
  background: #d8edfc;
  border: 1px solid #d8edfc;
  cursor: pointer;
}
.contact-form button:hover {
  background: #fff;
}
.contact-page .contact-form button {
  color: #fff;
  background: var(--sea);
  border-color: var(--sea);
}
.contact-page .contact-form button:hover {
  background: #205681;
}
.contact-form button span {
  margin-inline-start: 0.3rem;
}
@media (max-width: 920px) {
  .about-layout {
    grid-template-columns: minmax(11rem, 0.36fr) minmax(0, 0.64fr);
    gap: 1.2rem;
  }
  .about-feature {
    grid-template-columns: minmax(0, 0.49fr) minmax(0, 0.51fr);
  }
}
@media (max-width: 660px) {
  .hero-mark {
    width: min(calc(100% / var(--gold)), 25rem);
    right: 50%;
    top: 38.2%;
    transform: translate3d(50%, -50%, 0);
  }
  .hero h1 {
    width: calc(100% * 0.88);
  }
  .hero-bottom {
    bottom: clamp(3rem, 10svh, 5.5rem);
  }
  .header-actions {
    gap: 12px;
  }
  .menu-switch .menu-mark {
    width: 15px;
  }
  .about-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.12rem;
  }
  .about-index {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.76rem;
  }
  .about-index button {
    font-size: 0.99rem;
  }
  .about-feature {
    align-items: start;
  }
  .about-feature > img {
    max-height: 33svh;
  }
  .about-copy {
    gap: 0.54rem;
  }
  .about-copy h2 {
    font-size: clamp(1.35rem, 5.8vw, 2.1rem);
  }
  .about-copy > p,
  .about-copy li {
    font-size: 0.825rem;
  }
  .about-copy ol {
    gap: 0.3rem 0.42rem;
    display: grid;
  }
  .about-copy li + li::before {
    content: none;
  }
  .about-copy .text-link {
    font-size: 0.85rem;
  }
  .contact-footer {
    grid-template-columns: minmax(0, 1fr);
  }
  .kit-box {
    left: 11%;
    top: 13%;
    height: 58%;
  }
  .kit-stack {
    left: 39%;
    top: 20%;
    height: 49%;
  }
  .kit-card1,
  .kit-card2 {
    height: 33%;
  }
  .kit-card1 {
    left: 64%;
  }
  .kit-card2 {
    left: 73%;
  }
  .media-toggle {
    min-height: 32px;
    padding-inline: 0.55rem;
    font-size: 0.65rem;
  }
}
@media (max-width: 370px) {
  .site-header .brand {
    width: 91px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions :is(a, button) {
    font-size: 0.85rem;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
}
