/* The first screen is one continuous space, with navigation above the image. */
.top {
  margin-bottom: -73px;
  background: #f7f9f959;
  box-shadow: inset 0 1px 0 #ffffff90, 0 8px 32px #344a5810;
}
.hero.observatory.sanctuary {
  width: 100%;
  max-width: none;
  min-height: calc(100svh + 10px);
  margin: 0;
  padding: clamp(108px, 14vh, 170px) max(6vw, calc((100vw - 1240px) / 2)) 95px;
  border-radius: 0;
  background: #e3e9ed;
  box-shadow: none;
}
.sanctuary .observatory-stage img {
  object-position: 67% center;
  animation: none;
}
.sanctuary .observatory-stage::after {
  background: linear-gradient(90deg, #e7edf0e8 0%, #e7edf097 28%, #e7edf028 52%, transparent 70%);
}
.hero.observatory.sanctuary .hero-copy { padding-bottom: 0; }
.hero.observatory.sanctuary h1 {
  max-width: 710px;
  font-size: clamp(57px, 7.2vw, 112px);
  line-height: .98;
  font-weight: 550;
  letter-spacing: -.074em;
}
.sanctuary .lead { max-width: 415px; }
.sanctuary .actions .button { min-height: 48px; padding-inline: 20px; }
.sanctuary .signal-deck { bottom: 5%; right: max(6vw, calc((100vw - 1240px) / 2)); }
.sanctuary .signal-link { grid-template-columns: auto 1fr; padding-inline: 15px; }

@media (max-width: 650px) {
  .top { margin-bottom: -64px; }
  .hero.observatory.sanctuary {
    justify-content: space-between;
    min-height: calc(100svh + 7px);
    padding: 96px 22px 26px;
    gap: clamp(140px, 35svh, 285px);
  }
  .sanctuary .observatory-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }
  .sanctuary .observatory-stage img { object-position: center bottom; }
  .sanctuary .observatory-stage::after {
    background: linear-gradient(180deg, #e8edf0ee, #e8edf0b0 32%, #e8edf000 63%, #e8edf07a);
  }
  .hero.observatory.sanctuary h1 { font-size: clamp(44px, 11vw, 68px); }
  .sanctuary .lead { max-width: 36ch; }
  .sanctuary .actions .button { min-height: 44px; padding-inline: 13px; }
  .sanctuary .signal-deck { right: auto; bottom: auto; margin: 0; }
  .sanctuary .signal-link { padding-inline: 10px; }
}

@media (max-width: 650px) {
  .sanctuary .observatory-stage img { object-position: 42% center; }
}

.portal-motion { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .portal-motion { display: none; }
}


.portal-journey.is-interactive .hero-copy { transform: translateY(var(--portal-copy-offset,0px)); }
@media (max-width:650px) {
  .portal-journey.is-interactive .hero-copy { transform: none; }
}


/* Let the landscape dissolve into the page while the next section scrolls in. */
.hero.observatory.sanctuary { background: transparent; }
.sanctuary .observatory-stage {
  mask-image: linear-gradient(to bottom,#000 0 69%,#000e 79%,#0006 89%,transparent 97%);
}
.portal-dissolve {
  position: absolute;
  inset: auto 0 3%;
  height: clamp(105px,23svh,230px);
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(to bottom,transparent 0%,#0007 43%,#000 74%,transparent 100%);
}
@media (max-width:650px) {
  .portal-dissolve { height: 19svh; }
}

@media (prefers-reduced-motion: no-preference) {
  .portal-journey.is-interactive::after { content: ""; display: block; height: 14svh; }
  .portal-journey.is-interactive .sanctuary { transform: translateY(var(--portal-scene-offset, 0px)); }
}


.hero.observatory.sanctuary { border: 0; }
.portal-journey + #solucion { padding-top: clamp(42px, 6svh, 78px); }

/* Fade the composited edge too, including any blur at the crop boundary. */
.hero.observatory.sanctuary {
  mask-image: linear-gradient(to bottom, #000 0 94%, transparent 98%);
}

.hero.observatory.sanctuary h1 {
  max-width: 12.5ch;
  font-size: clamp(46px, 5.65vw, 90px);
  overflow-wrap: normal;
}
.sanctuary .lead { max-width: 480px; }
@media (max-width: 650px) {
  .hero.observatory.sanctuary h1 { font-size: clamp(31px, 8.2vw, 49px); }
  .sanctuary .lead { max-width: 38ch; }
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
h1, h2, h3 {
  font-family: Manrope, "Century Gothic", "Segoe UI", sans-serif;
  letter-spacing: -.055em;
}
.hero.observatory.sanctuary h1 {
  letter-spacing: -.063em;
  font-weight: 680;
  max-width: 13ch;
}
.title-accent { color: #ff9200; }

@font-face {
  font-family: Urbanist;
  src: url("assets/urbanist.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
h1, h2, h3 {
  font-family: Urbanist, Manrope, "Segoe UI", sans-serif;
  letter-spacing: -.028em;
  line-height: 1.16;
}
.hero.observatory.sanctuary h1 {
  font-size: clamp(42px, 5.1vw, 82px);
  line-height: 1.13;
  letter-spacing: -.032em;
  font-weight: 540;
  max-width: min(15.5ch, 100%);
}
@media (max-width: 650px) {
  .hero.observatory.sanctuary h1 { font-size: clamp(32px, 8.2vw, 49px); }
}

body {
  font-family: Urbanist, Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 460;
}
.sanctuary .lead {
  font-size: clamp(15px, 1.08vw, 17px);
  font-weight: 470;
  line-height: 1.58;
  text-wrap: pretty;
}

.eyebrow i {
  position: relative;
  width: 6px;
  height: 6px;
  background: #ff9200;
  box-shadow: none;
}
.eyebrow i::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle, #ff920033 0, #ff920012 35%, transparent 70%);
  animation: ihex-halo 12s ease-in-out infinite;
}
@keyframes ihex-halo {
  0%, 100% { opacity: .22; transform: scale(.8); }
  50% { opacity: .55; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow i::after { animation: none; opacity: .2; }
}

/* Keep the introduction on one axis, with a little more breathing room. */
.sanctuary .hero-copy { text-align: left; }
.hero.observatory.sanctuary .hero-copy h1,
.sanctuary .hero-copy .lead,
.sanctuary .hero-copy .actions {
  margin-inline: 0;
}
.sanctuary .hero-copy .lead { margin-top: 30px; margin-bottom: 31px; }
.sanctuary .hero-copy .actions { gap: 30px; align-items: center; justify-content: flex-start; }
@media (max-width: 650px) {
  .sanctuary .hero-copy .lead { margin-top: 24px; margin-bottom: 27px; }
  .sanctuary .hero-copy .actions { gap: 22px; }
}

/* Both sides of the dissolve share one continuous surface. */
.portal-journey { background: #eff3f7; }
@media (min-width:651px) {
  .hero.observatory.sanctuary { min-height: 92svh; }
}

.sanctuary .hero-slogan {
  position: absolute;
  inset-inline: max(6vw, calc((100vw - 1240px) / 2));
  inset-block-end: calc(clamp(32px, 4.5svh, 54px) - .2cm);
  margin: 0;
  color: #435e74;
  font: 560 clamp(11px, 1.72vw, 25px)/1.3 Urbanist, Manrope, sans-serif;
  letter-spacing: -.026em;
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 650px) {
  .hero.observatory.sanctuary { row-gap: clamp(44px, 10svh, 96px); }
  .sanctuary .hero-slogan {
    position: relative;
    inset: auto;
    font-size: clamp(17px, 3.8vw, 20px);
  }
}
