/*
 * Lush photographic direction.
 *
 * Photography creates desire; the atlas layer explains the route without
 * replacing the object itself.
 */

.home .pro-site-header {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 30, 35, 0.62), rgba(2, 30, 35, 0));
  border-bottom: 0;
  backdrop-filter: none;
}

.home .pro-brand,
.home .pro-brand:hover,
.home .pro-menu a {
  color: #fff;
}

.home .pro-menu a:hover,
.home .pro-menu .current-menu-item > a,
.home .pro-menu .current_page_item > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.home .pro-header-cta {
  color: #fff;
  background: rgba(16, 59, 54, 0.38);
  border-color: rgba(255, 255, 255, 0.56);
}

.home .pro-header-cta:hover {
  color: var(--pro-color-ink);
  background: #dff2c7;
  border-color: #dff2c7;
}

.atlas-hero {
  min-height: clamp(50rem, 100vh, 61rem);
  min-height: clamp(50rem, 100svh, 61rem);
  background: #074a65;
}

.atlas-hero-media,
.atlas-hero__scrim {
  position: absolute;
  inset: 0;
}

.atlas-hero-media {
  z-index: -3;
  margin: 0;
}

.atlas-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.atlas-hero__scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 35, 52, 0.96) 0%, rgba(2, 42, 59, 0.82) 31%, rgba(2, 42, 59, 0.33) 58%, rgba(7, 41, 27, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 34, 34, 0.28), transparent 38%, rgba(2, 28, 34, 0.36));
}

.atlas-hero-topography {
  z-index: -1;
}

.atlas-hero-topography .atlas-hero-map__water,
.atlas-hero-topography .atlas-hero-map__shallows,
.atlas-hero-topography .atlas-hero-map__land,
.atlas-hero-topography .atlas-hero-map__trees,
.atlas-hero-topography .atlas-hero-map__pier {
  display: none;
}

.atlas-hero-topography .atlas-hero-map__water-contours,
.atlas-hero-topography .atlas-hero-map__land-contours {
  stroke: rgba(231, 248, 224, 0.28);
  stroke-width: 1.4;
}

.atlas-hero__inner {
  min-height: clamp(43rem, calc(100vh - 7rem), 51rem);
  min-height: clamp(43rem, calc(100svh - 7rem), 51rem);
  padding-block: clamp(8.5rem, 14vh, 10.5rem) 12rem;
}

.atlas-hero__copy {
  width: min(45rem, 50%);
  text-shadow: 0 2px 24px rgba(0, 26, 38, 0.28);
}

.atlas-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 5vw, 5.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.atlas-hero__lead {
  max-width: 35rem;
  color: #eff9fa;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.atlas-hero__note {
  color: #d5e9e9;
}

.atlas-hero-route {
  right: clamp(1rem, 4vw, 4rem);
  bottom: 11.3rem;
  left: auto;
  width: min(48%, 44rem);
  margin: 0;
}

.atlas-hero-route::before {
  background: rgba(255, 255, 255, 0.72);
}

.atlas-hero-route li {
  max-width: 13rem;
  text-shadow: 0 2px 14px rgba(0, 30, 22, 0.48);
}

.atlas-hero-route__node {
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 0 8px 24px rgba(0, 37, 26, 0.24);
}

.atlas-goal-dock {
  position: relative;
  z-index: 5;
  padding-block: 0 4rem;
  margin-top: -8.75rem;
  background: linear-gradient(180deg, transparent 0 8.75rem, var(--pro-color-paper) 8.75rem);
}

.atlas-goal-dock .atlas-section-label {
  margin-bottom: 0.9rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 35, 38, 0.48);
}

.atlas-goal-dock__grid {
  gap: 0.7rem;
  padding: 0;
  border: 0;
}

.atlas-goal {
  grid-template-columns: 5.2rem minmax(0, 1fr) auto;
  min-height: 7rem;
  gap: 0.8rem;
  padding: 0.55rem;
  color: var(--pro-color-ink);
  background: rgba(251, 250, 244, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--pro-radius-md);
  box-shadow: 0 18px 48px rgba(0, 38, 42, 0.18);
}

.atlas-goal:last-child,
.atlas-goal:nth-last-child(-n + 2),
.atlas-goal:nth-child(odd) {
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.atlas-goal:hover {
  color: var(--pro-color-aqua-deep);
  background: #fff;
  border-color: #fff;
  transform: translateY(-3px);
}

.atlas-goal__scene {
  width: 5.2rem;
  height: 5.8rem;
  overflow: hidden;
  border-radius: 0.65rem;
}

.atlas-goal__scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.atlas-goal:hover .atlas-goal__scene img {
  transform: scale(1.045);
}

.atlas-goal__scene::before,
.atlas-goal__scene::after,
.atlas-goal__scene i::before,
.atlas-goal__scene i::after {
  display: none;
}

.atlas-services {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
}

.atlas-chapters {
  gap: clamp(1rem, 2.4vw, 1.8rem);
}

.atlas-chapter,
.atlas-chapter--water,
.atlas-chapter--land,
.atlas-chapter--complex {
  padding: 0;
  color: var(--pro-color-ink);
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 59, 54, 0.11);
}

.atlas-chapter__media {
  position: relative;
  height: clamp(14rem, 23vw, 19rem);
  overflow: hidden;
}

.atlas-chapter__media::after {
  position: absolute;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(5, 39, 36, 0.35));
  inset: 0;
}

.atlas-chapter__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.atlas-chapter:hover .atlas-chapter__media img {
  transform: scale(1.025);
}

.atlas-chapter__contours,
.atlas-chapter__contours::before,
.atlas-chapter__contours::after {
  position: absolute;
  z-index: 1;
  content: "";
  border: 1px solid rgba(240, 252, 231, 0.48);
  border-radius: 47% 53% 43% 57%;
  inset: 18% 11% 22% 44%;
  transform: rotate(-9deg);
}

.atlas-chapter__contours::before {
  inset: 12%;
  transform: rotate(7deg);
}

.atlas-chapter__contours::after {
  inset: 24%;
  transform: rotate(-12deg);
}

.atlas-chapter__header {
  padding: 1.25rem 1.35rem;
}

.atlas-chapter--water .atlas-chapter__header,
.atlas-chapter--land .atlas-chapter__header,
.atlas-chapter--complex .atlas-chapter__header {
  border-bottom-color: rgba(16, 59, 54, 0.16);
}

.atlas-chapter__header p {
  color: var(--pro-color-muted);
}

.atlas-chapter__map {
  color: var(--pro-color-aqua-deep);
}

.atlas-chapter--land .atlas-chapter__map {
  color: var(--pro-color-green-dark);
}

.atlas-service-index {
  padding: 0 1.35rem 1rem;
}

.atlas-chapter--water .atlas-service-index li + li,
.atlas-chapter--land .atlas-service-index li + li,
.atlas-chapter--complex .atlas-service-index li + li {
  border-top-color: rgba(16, 59, 54, 0.12);
}

.atlas-service-link {
  margin-inline: -0.55rem;
  padding: 0.9rem 0.55rem;
  border-radius: 0.55rem;
}

.atlas-service-link:hover {
  background: var(--pro-color-soft);
}

@media (min-width: 64rem) {
  .atlas-chapters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atlas-chapter--water,
  .atlas-chapter--land,
  .atlas-chapter--complex {
    grid-column: auto;
  }

  .atlas-chapter--land .atlas-chapter__header {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
}

@media (max-width: 64rem) {
  .atlas-hero {
    min-height: auto;
  }

  .atlas-hero__scrim {
    background:
      linear-gradient(180deg, rgba(2, 34, 49, 0.9) 0%, rgba(2, 39, 52, 0.66) 58%, rgba(2, 39, 52, 0.3) 100%),
      linear-gradient(90deg, rgba(2, 34, 49, 0.66), transparent 82%);
  }

  .atlas-hero__inner {
    min-height: auto;
    padding-block: 8.5rem 4rem;
  }

  .atlas-hero__copy {
    width: min(100%, 44rem);
  }

  .atlas-hero-route {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    padding-bottom: 3.5rem;
    background: rgba(2, 36, 44, 0.28);
  }

  .atlas-goal-dock {
    padding-block: 2.2rem 4rem;
    margin-top: 0;
    background: var(--pro-color-paper);
  }

  .atlas-goal-dock .atlas-section-label {
    color: var(--pro-color-ink);
    text-shadow: none;
  }
}

@media (max-width: 70rem) {
  .home .pro-site-header {
    background: linear-gradient(180deg, rgba(2, 30, 35, 0.76), transparent);
  }

  .home .pro-menu-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
  }

  .home .pro-navigation[data-open="true"] {
    background: var(--pro-color-paper);
  }

  .home .pro-navigation[data-open="true"] .pro-menu a {
    color: var(--pro-color-ink);
  }

  .home .pro-navigation[data-open="true"] .pro-menu a:hover {
    color: var(--pro-color-green-dark);
    background: var(--pro-color-soft);
  }
}

@media (max-width: 48rem) {
  .atlas-hero-media {
    inset: 0;
  }

  .atlas-hero-media img {
    object-position: 58% 50%;
  }

  .atlas-hero__scrim {
    background:
      linear-gradient(180deg, rgba(2, 34, 49, 0.94) 0%, rgba(2, 39, 52, 0.74) 52%, rgba(2, 39, 52, 0.28) 100%),
      linear-gradient(90deg, rgba(2, 34, 49, 0.58), transparent);
  }

  .atlas-hero-topography {
    top: 0;
    height: 100%;
  }

  .atlas-hero__inner {
    min-height: auto;
    padding-block: 7.75rem 3.5rem;
  }

  .atlas-hero__copy {
    width: 100%;
  }

  .atlas-hero h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 13vw, 4.7rem);
  }

  .atlas-hero-route {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    padding-bottom: 2.25rem;
    background: rgba(2, 36, 44, 0.34);
  }

  .atlas-goal-dock {
    padding-block: 2.2rem 4rem;
    margin-top: 0;
    background: var(--pro-color-paper);
  }

  .atlas-goal-dock .atlas-section-label {
    color: var(--pro-color-ink);
    text-shadow: none;
  }

  .atlas-goal__scene {
    width: 4.5rem;
    height: 4.8rem;
  }

  .atlas-goal {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    min-height: 6rem;
    box-shadow: 0 12px 32px rgba(16, 59, 54, 0.1);
  }
}

@media (max-width: 36rem) {
  .atlas-hero__inner {
    padding-top: 7.25rem;
    padding-bottom: 3rem;
  }

  .atlas-goal {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
  }

  .atlas-goal__scene {
    width: 4rem;
    height: 4.3rem;
  }

  .atlas-chapter__media {
    height: 15rem;
  }
}

@media (min-width: 46rem) and (max-width: 63.99rem) {
  .atlas-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-chapter--complex {
    grid-column: 1 / -1;
  }
}

@media (max-width: 23.5rem) {
  .atlas-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3rem);
  }

  .atlas-hero__lead {
    font-size: 1rem;
  }

  .atlas-goal {
    grid-template-columns: 3.65rem minmax(0, 1fr) auto;
    min-height: 5.4rem;
  }

  .atlas-goal__scene {
    width: 3.65rem;
    height: 3.9rem;
  }
}

@media (orientation: landscape) and (max-height: 34rem) and (max-width: 64rem) {
  .atlas-hero,
  .atlas-hero__inner {
    min-height: auto;
  }

  .atlas-hero__inner {
    padding-block: 6.25rem 2.25rem;
  }

  .atlas-hero h1 {
    max-width: 17ch;
    font-size: clamp(2.75rem, 7vw, 3.6rem);
  }

  .atlas-hero__lead {
    max-width: 46rem;
  }

  .atlas-hero-route {
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-goal__scene img,
  .atlas-chapter__media img {
    transition: none;
  }
}
