/* The grain and blind emboss are taken from the two faces of the printed card. */
@media screen {
  body,
  .capabilities,
  .product-section,
  .scene-demo,
  .company-story,
  .capabilities-section,
  .footer {
    background-image: linear-gradient(115deg, rgb(15 15 14 / 32%), rgb(14 14 13 / 60%)), url("/launch-paper.webp");
    background-size: auto, 240px 240px;
  }
}

.zovsu-ribbon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border-block: 1px solid #645744;
  background: #191815 url("/launch-paper.webp") center / 220px;
  color: #e0ddd3;
  text-align: center;
}

.zovsu-ribbon--attached {
  position: absolute;
  inset: 100% 0 auto;
}

.zovsu-ribbon > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .32em;
  min-height: 30px;
  padding: 3px 12px;
  box-sizing: border-box;
  color: #e0ddd3;
  font: 400 12px/1.35 var(--sans, system-ui, sans-serif);
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: none;
}

.zovsu-ribbon strong {
  color: #e2c99c;
  font-weight: 600;
}

.zovsu-ribbon svg {
  width: 10px;
  height: 10px;
  margin-left: 3px;
  color: #e2c99c;
}

.zovsu-ribbon a:is(:hover, :focus-visible) strong { text-decoration: underline; }
body:has([aria-controls="navlinks"][aria-expanded="true"]) .zovsu-ribbon--attached { visibility: hidden; }

.zovsu-sign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(54px, 7.3vw, 108px) max(6vw, calc((100vw - 1240px) / 2));
  scroll-margin-top: 112px;
  color: #e0ddd3;
  background: #141414 url("/launch-brass.webp") center 48% / cover no-repeat;
}

.zovsu-sign::before {
  content: "";
  position: absolute;
  inset: clamp(12px, 1.4vw, 23px);
  border: 1px solid #8c7857;
  pointer-events: none;
}

.zovsu-sign-inner { position: relative; }
.zovsu-sign .zovsu-sign-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 12px;
  color: #dfc89e;
  font: 500 clamp(10px, .88vw, 13px)/1.5 var(--sans, system-ui, sans-serif);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.zovsu-sign-label::before {
  content: "";
  width: clamp(20px, 3.5vw, 54px);
  height: 1px;
  background: currentColor;
}

.zovsu-sign h2 {
  margin: 0;
  font: 400 clamp(63px, 9.2vw, 140px)/1.05 "Iowan Old Style", Baskerville, Georgia, serif;
  letter-spacing: -.055em;
}

.zovsu-sign h2 a {
  display: inline-flex;
  align-items: baseline;
  color: #eae5d8;
  text-decoration: none;
}
.zovsu-sign h2 span { color: #c4ab7e; }
.zovsu-sign h2 svg {
  align-self: flex-start;
  width: .16em;
  height: .16em;
  margin: .2em 0 0 .12em;
  color: #c4ab7e;
}

.zovsu-sign .zovsu-sign-note {
  max-width: 30em;
  margin: 16px 0 0;
  color: #cecbc2;
  font: 400 clamp(14px, 1.1vw, 17px)/1.5 var(--sans, system-ui, sans-serif);
}

.zovsu-sign a:focus-visible,
.zovsu-ribbon a:focus-visible { outline: 2px solid #dfc89e; outline-offset: -1px; }

@media (prefers-reduced-motion: no-preference) {
  .zovsu-ribbon svg, .zovsu-sign svg {
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  }
  .zovsu-ribbon a:hover svg, .zovsu-sign a:hover svg { transform: translate(2px,-2px); }
  @supports (animation-timeline: view()) {
    .zovsu-sign::after {
      content: "";
      position: absolute;
      z-index: -1;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(105deg, transparent 42%, rgb(218 192 144 / 8%) 52%, transparent 62%);
      animation: zovsu-foil linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 62%;
    }
    @keyframes zovsu-foil { from { transform: translateX(-65%); } to { transform: translateX(65%); } }
  }
}

@media (max-width: 600px) {
  .zovsu-sign {
    padding: 48px 30px;
    background-position: 58% center;
  }
  .zovsu-sign h2 { font-size: clamp(50px, 16vw, 76px); }
  .zovsu-sign .zovsu-sign-note { max-width: 21em; }
}
/* A short landscape viewport has space between the wordmark and menu. */
@media (min-width: 650px) and (max-width: 900px) and (max-height: 480px) {
  .nav[aria-label="Primary navigation"] > .zovsu-ribbon--attached {
    inset: 50% auto auto 50%;
    width: max-content;
    max-width: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #645744;
    border-radius: 2px;
  }
}
@media print { .zovsu-sign, .zovsu-ribbon { display: none; } }
