/* One continuous visual sequence: transitions overlap adjacent sections. */
.home-page main,
.catalog-page main {
  overflow: clip;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
}

.site-header .nav-links {
  justify-self: start;
  gap: clamp(16px, 2vw, 32px);
}

.site-header .brand-centered {
  position: absolute;
  left: 50%;
  top: 0;
  width: auto;
  height: 78px;
  padding: 0;
  overflow: visible;
  background: transparent;
  transform: translateX(-50%);
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .38);
}

.brand-wordmark span,
.footer-wordmark span {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-wordmark strong,
.footer-wordmark strong {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.footer-wordmark span { font-size: 26px; }
.footer-wordmark strong { font-size: 15px; }

.home-page .site-header::after,
.catalog-page .site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 56px;
  height: 1px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.header-contact {
  grid-column: 3;
  justify-self: end;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .72);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-page .site-header .header-contact {
  opacity: 0;
  animation: headerEnter .65s cubic-bezier(.2,.8,.2,1) .23s forwards;
}

.home-page .site-header .brand-centered {
  animation: centeredLogoEnter .65s cubic-bezier(.2,.8,.2,1) .05s forwards;
}

@keyframes centeredLogoEnter {
  from { opacity: 0; transform: translate(-50%, -14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.header-contact:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.section-transition {
  position: relative;
  z-index: 12;
  height: clamp(120px, 17vh, 190px);
  margin: clamp(-95px, -8.5vh, -60px) 0;
  pointer-events: none;
}

.transition-hero-journey {
  background: linear-gradient(180deg, rgba(7, 20, 28, 0), rgba(7, 20, 28, .98) 48%, rgba(7, 20, 28, 0));
}

.transition-journey-markets {
  background: linear-gradient(180deg, rgba(7, 20, 28, 0), rgba(8, 16, 23, .98) 52%, rgba(9, 13, 18, 0));
}

.transition-featured-markets {
  background: linear-gradient(180deg, rgba(9, 13, 18, 0), #090d12 48%, rgba(9, 13, 18, 0));
}

.transition-markets-momentum {
  background: linear-gradient(180deg, #090d12, #080b0f);
}

.transition-momentum-delivery {
  background: linear-gradient(180deg, #080b0f, #0b1118);
}

.transition-delivery-proof {
  background: linear-gradient(180deg, #0b1118 0%, #0a1016 54%, #080c11 100%);
}

.transition-proof-footer {
  background: linear-gradient(180deg, #080c11 0%, #070a0e 100%);
}

.transition-paper-footer {
  background: linear-gradient(180deg, #fff 0%, #d5d7d6 20%, #5b6064 57%, #14191e 83%, #070a0e 100%);
}

.transition-catalog-paper {
  background: linear-gradient(180deg, #080b0f 0%, #161b20 24%, #696d6e 58%, #d7d8d3 84%, var(--paper) 100%);
}

.hero-cinema .hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .88) 0%, rgba(3, 8, 14, .52) 38%, rgba(3, 8, 14, .08) 72%),
    linear-gradient(0deg, #07141c 0%, rgba(3, 8, 14, .88) 14%, transparent 48%, rgba(3, 8, 14, .24) 100%);
}

.vessel-water {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 87%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 87%, transparent 100%);
}

.vessel-journey::after {
  content: "";
  position: absolute;
  z-index: 14;
  left: 0;
  right: 0;
  bottom: -180px;
  height: 360px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 20, 28, 0), #081017 46%, #081017 64%, rgba(8, 16, 23, 0));
}

.vessel-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, #07141c 0%, rgba(7, 20, 28, 0) 16%, rgba(9, 13, 18, 0) 70%, #090d12 100%);
  pointer-events: none;
}

.markets {
  background: linear-gradient(180deg, #090d12 0%, #090d12 72%, #080b0f 100%);
}

.momentum {
  background: linear-gradient(180deg, #080b0f 0%, #080b0f 74%, #0b1118 100%);
}

.delivery,
.proof,
.footer,
.collection,
.catalog-intro {
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  .site-header .nav-links { gap: 14px; }
  .site-header .nav-links a { font-size: 10px; }
  .site-header .brand-centered { height: 78px; }
}
