@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext-variable.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/outfit-latin-variable.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2")
    format("woff2-variations");
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-wght-normal-DHIcAJRg.woff2")
    format("woff2-variations");
  unicode-range:
    U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308,
    U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

.terra-page {
  font-family: "Manrope Variable", sans-serif;
}

.terra-hero,
.terra-investment,
.terra-location {
  --tv-color-ink: #103c40;
  --tv-color-ocean: #164b50;
  --tv-color-sand: #f7f4ec;
  --tv-color-paper: #fffcf6;
  --tv-color-muted: #4d6262;
  --tv-color-line: #d5dcd3;
  --tv-color-gold: #e4b968;
  --tv-color-gold-hover: #f0d38c;
  --tv-section-space: clamp(48px, 8vw, 100px);
  --tv-page-max: 1200px;
  --tv-radius-media: 16px;
  --tv-shadow-raised: 0 8px 24px rgb(16 60 64 / 10%);
  font-family: "Outfit", system-ui, sans-serif;
}

.terra-hero {
  background-color: var(--tv-color-ink);
}

.terra-hero__video {
  object-position: 70% center;
}

.terra-hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgb(8 41 45 / 93%) 0%,
      rgb(8 41 45 / 80%) 38%,
      rgb(8 41 45 / 34%) 67%,
      rgb(8 41 45 / 8%) 100%
    ),
    linear-gradient(0deg, rgb(8 41 45 / 28%), transparent 45%);
}

.terra-hero__content {
  width: min(100%, 38rem);
}

.terra-hero__header {
  max-width: var(--tv-page-max);
  font-family: "Outfit", system-ui, sans-serif;
}

.terra-hero__incorporator {
  color: var(--tv-color-gold-hover);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.terra-hero__wordmark {
  display: flex;
  flex-direction: column;
  margin-top: 0.55rem;
  color: #fff;
  font-size: clamp(5rem, 19vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.74;
  text-transform: lowercase;
}

.terra-hero__wordmark,
.terra-hero__location,
.terra-hero__offer {
  font-family: "Outfit", system-ui, sans-serif;
}

.terra-hero__location {
  margin-top: 1rem;
  color: rgb(255 255 255 / 94%);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1.5;
}

.terra-hero__copy {
  max-width: 27rem;
  margin-top: 0.4rem;
  color: rgb(255 255 255 / 92%);
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  line-height: 1.55;
}

.terra-hero__offer {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.75rem;
  color: rgb(255 255 255 / 92%);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

.terra-hero__offer strong {
  color: var(--tv-color-gold-hover);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.terra-hero__media-control {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: auto;
  top: auto;
  font-family: "Outfit", system-ui, sans-serif;
}

.terra-hero__pause {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgb(255 255 255 / 54%);
  border-radius: 999px;
  background: rgb(8 41 45 / 72%);
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.terra-hero__pause:hover {
  border-color: #fff;
  background: var(--tv-color-ink);
}

.terra-hero :is(a, button):focus-visible {
  outline: 3px solid var(--tv-color-gold-hover);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--tv-color-ink);
}

.terra-page [data-cta] > svg {
  box-sizing: content-box;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35rem;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) {
  .terra-page [data-cta]:hover > svg {
    transform: translateX(2px);
  }

  .terra-page [data-cta]:hover > svg {
    background-color: rgb(255 255 255 / 14%);
  }
}

@media (min-width: 768px) {
  .terra-hero__content {
    width: min(50%, 38rem);
  }

  .terra-hero__wordmark {
    font-size: clamp(7rem, 11vw, 10.5rem);
  }

  .terra-hero__video {
    object-position: 55% center;
  }

  .terra-hero__media-control {
    right: 2rem;
    bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .terra-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgb(8 41 45 / 92%) 0%,
        rgb(8 41 45 / 78%) 46%,
        rgb(8 41 45 / 35%) 78%,
        rgb(8 41 45 / 12%) 100%
      ),
      linear-gradient(0deg, rgb(8 41 45 / 42%), transparent 52%);
  }

  .terra-hero__content {
    width: min(100%, 34rem);
  }

  .terra-hero__wordmark {
    font-size: clamp(4.5rem, 18vw, 6.5rem);
  }

  .terra-hero__pause > span {
    display: none;
  }
}

.terra-signals {
  position: relative;
  background:
    radial-gradient(ellipse at 18% 0%, rgb(33 175 164 / 24%), transparent 48%),
    linear-gradient(115deg, #0d3440 0%, #14545a 52%, #123e4b 100%);
  padding-block: 1.25rem;
}

.terra-signals__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.terra-signals__track,
.terra-signals__group {
  display: flex;
  width: max-content;
}

.terra-signals__track {
  animation: terra-signals-scroll 34s linear infinite;
  will-change: transform;
}

.terra-signals__group {
  align-items: center;
  gap: 0.75rem;
  padding-inline: 0.5rem;
}

.terra-signals__group[aria-hidden="true"] {
  display: flex;
}

.terra-signals__item {
  position: relative;
  display: flex;
  width: clamp(14.5rem, 20vw, 18rem);
  min-height: 4rem;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  border: 1px solid rgb(172 231 222 / 25%);
  border-radius: 1rem;
  background: linear-gradient(
    125deg,
    rgb(29 111 117 / 96%),
    rgb(26 83 99 / 96%)
  );
  padding: 0.7rem 1rem;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 9%),
    0 8px 24px rgb(3 23 32 / 18%);
  animation: terra-signal-enter 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.terra-signals__item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(#73ead1, #eac579);
  content: "";
}

.terra-signals__item:nth-child(2) {
  animation-delay: 140ms;
}

.terra-signals__item:nth-child(3) {
  animation-delay: 280ms;
}

.terra-signals__item > .font-display {
  flex: 0 0 auto;
  color: #ffd27b;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  text-shadow: 0 0 18px rgb(255 201 104 / 20%);
}

.terra-signals__item > span:last-child {
  max-width: 14rem;
  color: #f0fbfa;
  font-size: 0.78rem;
  line-height: 1.35;
}

@keyframes terra-signals-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes terra-signal-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .terra-signals {
    padding-block: 1rem;
  }

  .terra-signals__track {
    animation-duration: 27s;
  }

  .terra-signals__item {
    width: min(76vw, 15rem);
    min-height: 3.75rem;
    gap: 0.7rem;
    border-radius: 0.9rem;
    padding: 0.6rem 0.85rem;
  }

  .terra-signals__item > span:last-child {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terra-page [data-cta] > svg {
    transition: none;
    transform: none;
  }

  .terra-signals__track {
    animation-duration: 68s;
  }

  .terra-signals__item {
    animation: none;
  }
}

.terra-investment {
  background: var(--tv-color-ink);
  padding-block: clamp(72px, 8vw, 100px);
  color: var(--tv-color-paper);
}

.terra-investment__content {
  position: relative;
  z-index: 1;
}

.terra-investment__background-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  pointer-events: none;
}

.terra-investment__video-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(8 41 45 / 88%) 0%,
      rgb(8 41 45 / 76%) 48%,
      rgb(8 41 45 / 68%) 100%
    ),
    linear-gradient(0deg, rgb(8 41 45 / 42%), rgb(8 41 45 / 30%));
  pointer-events: none;
}

.terra-investment__layout {
  display: grid;
  gap: 1.5rem;
}

.terra-investment h2 {
  color: var(--tv-color-paper);
}

.terra-investment__kicker {
  color: var(--tv-color-gold-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.terra-investment__copy {
  color: rgb(255 252 246 / 92%);
}

.terra-investment__contact {
  color: var(--tv-color-paper);
  text-decoration-color: var(--tv-color-gold-hover);
  text-decoration-thickness: 2px;
}

.terra-investment__contact:hover {
  color: var(--tv-color-gold-hover);
  text-decoration-color: var(--tv-color-gold-hover);
}

.terra-investment figure {
  border: 1px solid var(--tv-color-line);
  background: var(--tv-color-paper);
  box-shadow: var(--tv-shadow-raised);
}

.terra-investment figcaption {
  color: rgb(255 255 255 / 70%);
}

.terra-investment__intro {
  max-width: 58ch;
}

.terra-investment__visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.terra-investment__image {
  position: relative;
  min-width: 0;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--tv-color-line);
  border-radius: var(--tv-radius-media);
  background: var(--tv-color-paper);
  box-shadow: var(--tv-shadow-raised);
  isolation: isolate;
}

.terra-investment__image--lighthouse {
  min-height: 18rem;
  margin-top: 1.5rem;
}

.terra-investment__image img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.terra-investment__image:hover img {
  transform: scale(1.035);
}

.terra-investment__image::after {
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgb(5 23 25 / 82%));
  content: "";
}

.terra-investment__image figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: white;
}

.terra-investment__image figcaption span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.1;
}

.terra-investment__image figcaption small {
  color: rgb(255 255 255 / 78%);
  font-size: 0.75rem;
  line-height: 1.4;
}

.terra-investment__image img,
.terra-investment__image figcaption {
  border-radius: inherit;
}

.terra-investment__video-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 64%);
  border-radius: 50%;
  background: rgb(8 41 45 / 76%);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.terra-investment__video-toggle:hover {
  background: var(--tv-color-ink);
  transform: scale(1.06);
}

.terra-investment__video-toggle:focus-visible {
  outline: 3px solid var(--tv-color-gold-hover);
  outline-offset: 3px;
}

.terra-location h2,
.terra-investment h2 {
  font-family: var(--font-display);
}

.terra-location :is(button, a):focus-visible {
  outline: 3px solid var(--tv-color-gold-hover);
  outline-offset: 4px;
}

.terra-investment :is(button, a):focus-visible {
  outline: 3px solid var(--tv-color-ink);
  outline-offset: 4px;
}

.terra-lake {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--tv-color-sand);
}

.terra-lake__viewport {
  position: relative;
  min-height: 18rem;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--tv-color-ink);
  isolation: isolate;
}

.terra-lake__viewport::after {
  position: absolute;
  z-index: 1;
  inset: 52% 0 0;
  background: linear-gradient(transparent, rgb(8 31 33 / 62%));
  content: "";
  pointer-events: none;
}

.terra-lake__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 900ms ease,
    transform 6500ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.terra-lake__photo[data-active="true"] {
  opacity: 1;
  transform: scale(1);
}

.terra-lake__badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  border: 1px solid rgb(255 255 255 / 54%);
  border-radius: 999px;
  background: rgb(8 41 45 / 76%);
  padding: 0.55rem 0.75rem;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.terra-lake__controls {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 0.75rem;
}

.terra-lake__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 50%;
  background: rgb(8 41 45 / 78%);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.terra-lake__arrow:hover {
  background: var(--tv-color-ink);
  transform: scale(1.06);
}

.terra-lake__dots {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.terra-lake__dot {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
}

.terra-lake__dot::before {
  width: 10px;
  height: 10px;
  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 999px;
  background: rgb(8 41 45 / 65%);
  content: "";
  transition:
    width 220ms ease,
    background-color 220ms ease;
}

.terra-lake__dot[aria-pressed="true"]::before {
  width: 24px;
  background: #fff;
}

.terra-lake :is(button):focus-visible {
  outline: 3px solid var(--tv-color-gold-hover);
  outline-offset: 3px;
}

.terra-lake__caption {
  border-top: 1px solid var(--tv-color-line);
  background: var(--tv-color-paper);
  padding: 0.85rem 1rem;
  color: var(--tv-color-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.terra-location {
  background: var(--tv-color-ink);
  padding-block: var(--tv-section-space);
}

.terra-location__content {
  max-width: 58ch;
}

.terra-location__map {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--tv-radius-media);
  background: var(--tv-color-paper);
  box-shadow: 0 16px 40px rgb(0 0 0 / 22%);
}

.terra-location__map-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.terra-location__map figcaption {
  border-top: 1px solid var(--tv-color-line);
  background: var(--tv-color-paper);
  padding: 0.85rem 1rem;
  color: var(--tv-color-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.terra-location__map-link:focus-visible {
  outline: 3px solid var(--tv-color-gold-hover);
  outline-offset: 4px;
}

@media (min-width: 1024px) {
  .terra-investment__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .terra-investment__visuals {
    margin-top: 0;
  }
}

@media (max-width: 1023px) {
  .terra-location > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .terra-location__content {
    max-width: 70ch;
  }
}

@media (max-width: 767px) {
  .terra-lake__viewport {
    min-height: 0;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
  }
}

.terra-gallery {
  background:
    radial-gradient(ellipse at 82% 4%, rgb(33 175 164 / 14%), transparent 34%),
    linear-gradient(145deg, #102d32 0%, #0c2025 58%, #102f36 100%);
}

.terra-gallery__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.terra-gallery__filters {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.terra-gallery__filter {
  min-height: 2.75rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: rgb(255 255 255 / 78%);
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.terra-gallery__filter:hover,
.terra-gallery__filter[aria-pressed="true"] {
  border-color: #e4b968;
  background: #e4b968;
  color: #183d37;
}

.terra-gallery__grid {
  display: grid;
  grid-auto-rows: 15rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.terra-gallery__card {
  position: relative;
  grid-column: span 3;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 1.15rem;
  background: #193c3d;
  text-align: left;
  isolation: isolate;
}

.terra-gallery__card--featured {
  grid-column: span 6;
  grid-row: span 2;
}

.terra-gallery__card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.terra-gallery__card::after {
  position: absolute;
  z-index: 1;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgb(5 23 25 / 88%));
  content: "";
}

.terra-gallery__card:hover img,
.terra-gallery__card:focus-visible img {
  transform: scale(1.055);
}

.terra-gallery__card:focus-visible,
.terra-gallery__filter:focus-visible,
.terra-gallery__dialog button:focus-visible {
  outline: 3px solid #f0d38c;
  outline-offset: 3px;
}

.terra-gallery__card-overlay {
  position: absolute;
  z-index: 2;
  inset: auto 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 2.5rem;
}

.terra-gallery__card-label {
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 999px;
  background: rgb(10 34 36 / 55%);
  padding: 0.3rem 0.65rem;
  color: #f0d38c;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.terra-gallery__card-title {
  margin-top: 0.6rem;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.terra-gallery__card-caption {
  margin-top: 0.35rem;
  color: rgb(255 255 255 / 75%);
  font-size: 0.78rem;
  line-height: 1.4;
}

.terra-gallery__zoom {
  position: absolute;
  z-index: 3;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  background: rgb(10 34 36 / 44%);
  color: white;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(8px);
}

.terra-gallery__card:hover .terra-gallery__zoom,
.terra-gallery__card:focus-visible .terra-gallery__zoom {
  opacity: 1;
  transform: translateY(0);
}

.terra-gallery__dialog {
  width: min(94vw, 72rem);
  max-width: none;
  max-height: 92dvh;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 1.25rem;
  margin: auto;
  background: #0c2025;
  color: white;
  overflow: visible;
}

.terra-gallery__dialog::backdrop {
  background: rgb(3 14 16 / 88%);
  backdrop-filter: blur(6px);
}

.terra-gallery__lightbox {
  position: relative;
  display: flex;
  min-height: min(80dvh, 52rem);
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.terra-gallery__lightbox-image {
  width: 100%;
  max-height: min(68dvh, 46rem);
  border-radius: 0.75rem;
  object-fit: contain;
}

.terra-gallery__close,
.terra-gallery__previous,
.terra-gallery__next {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  background: rgb(8 25 28 / 78%);
  color: white;
  transition: background-color 180ms ease;
}

.terra-gallery__close:hover,
.terra-gallery__previous:hover,
.terra-gallery__next:hover {
  background: #164b50;
}

.terra-gallery__close {
  top: 1.5rem;
  right: 1.5rem;
}

.terra-gallery__previous,
.terra-gallery__next {
  top: 50%;
  transform: translateY(-50%);
}

.terra-gallery__previous {
  left: 1.5rem;
}

.terra-gallery__next {
  right: 1.5rem;
}

.terra-gallery__lightbox-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.25rem 0.1rem;
}

@media (max-width: 767px) {
  .terra-investment__visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.25rem;
  }

  .terra-investment__image,
  .terra-investment__image--lighthouse {
    min-height: 13rem;
    border-radius: 1rem;
    margin-top: 0;
  }

  .terra-investment__video-overlay {
    background:
      linear-gradient(
        180deg,
        rgb(8 41 45 / 76%) 0%,
        rgb(8 41 45 / 74%) 62%,
        rgb(8 41 45 / 82%) 100%
      ),
      rgb(8 41 45 / 45%);
  }

  .terra-investment__image figcaption {
    inset-inline: 0.7rem;
    bottom: 0.75rem;
  }

  .terra-investment__image figcaption span {
    font-size: 1.25rem;
  }

  .terra-investment__image figcaption small {
    font-size: 0.65rem;
  }

  .terra-gallery__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 1.75rem;
  }

  .terra-gallery__filters {
    gap: 0.4rem;
  }

  .terra-gallery__filter {
    min-height: 2.5rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }

  .terra-gallery__grid {
    grid-auto-rows: 12.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .terra-gallery__card {
    grid-column: span 1;
    border-radius: 0.9rem;
  }

  .terra-gallery__card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .terra-gallery__card-overlay {
    inset-inline: 0.8rem;
    bottom: 0.85rem;
    padding-right: 0;
  }

  .terra-gallery__card-caption {
    font-size: 0.7rem;
  }

  .terra-gallery__zoom {
    top: 0.65rem;
    right: 0.65rem;
    width: 2.15rem;
    height: 2.15rem;
    opacity: 1;
    transform: none;
  }

  .terra-gallery__dialog {
    width: calc(100vw - 1.25rem);
    max-height: 90dvh;
    border-radius: 0.9rem;
  }

  .terra-gallery__lightbox {
    min-height: 60dvh;
    padding: 0.65rem;
  }

  .terra-gallery__lightbox-image {
    max-height: 58dvh;
  }

  .terra-gallery__close {
    top: 1rem;
    right: 1rem;
  }

  .terra-gallery__previous {
    left: 0.85rem;
  }

  .terra-gallery__next {
    right: 0.85rem;
  }
}

@media (max-width: 639px) {
  .terra-investment {
    padding-block: 3.25rem;
  }

  .terra-investment__visuals {
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .terra-investment__image,
  .terra-investment__image--lighthouse {
    min-height: 12.5rem;
    border-radius: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terra-gallery__card img,
  .terra-gallery__filter,
  .terra-gallery__zoom,
  .terra-investment__image img,
  .terra-lake__photo,
  .terra-lake__arrow,
  .terra-lake__dot::before {
    transition: none;
  }

  .terra-investment__image:hover img {
    transform: none;
  }

  .terra-lake__photo,
  .terra-lake__photo[data-active="true"] {
    transform: none;
  }

  .terra-lake__arrow:hover {
    transform: none;
  }
}
