:root {
  --page-bg: #000;
  --page-text: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing {
  min-height: 100svh;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, .07), transparent 34rem),
    #000;
}

.landing > .container-fluid {
  max-width: 1920px;
  margin-inline: auto;
}

.hero-heading {
  max-width: 70rem;
  line-height: 1.12;
}

.hero-heading h1,
.hero-heading p {
  font-size: clamp(1.4rem, 2.4vw, 3.2rem);
  font-weight: 400;
}

.hero-heading h1,
.hero-heading p,
.experience-title,
.experience-address {
  letter-spacing: -0.035em;
}

.experiences {
  width: 100%;
  margin-inline: 0;
}

.experience-card {
  width: 100%;
}

.experience-title {
  margin-bottom: clamp(.75rem, 1.5vw, 1.8rem);
  font-size: clamp(1.08rem, 1.8vw, 2.56rem);
  font-weight: 400;
  line-height: 1.1;
}

.photo-link {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 0;
  background: #111;
  transition: transform .35s ease, box-shadow .35s ease;
}

.photo-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .14));
  opacity: .9;
  transition: opacity .35s ease;
  pointer-events: none;
}

.experience-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: brightness(.86);
  transition: transform .45s ease, filter .35s ease;
}

.photo-link:hover,
.photo-link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 4rem rgba(255, 255, 255, .11);
  outline: none;
}

.photo-link:hover .experience-photo,
.photo-link:focus-visible .experience-photo {
  transform: scale(1.035);
  filter: brightness(1);
}

.photo-link:hover::after,
.photo-link:focus-visible::after {
  opacity: .35;
}

.experience-address {
  margin-top: clamp(.8rem, 1.6vw, 2.1rem);
  font-size: clamp(.92rem, 1.6vw, 2.24rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .landing {
    height: 100svh;
    min-height: 0;
    padding-top: clamp(1rem, 2.5vh, 2.5rem) !important;
    padding-bottom: clamp(1rem, 2.5vh, 2.5rem) !important;
    overflow: hidden;
  }

  .landing > .container-fluid {
    max-width: 1920px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-heading {
    margin-bottom: clamp(1.2rem, 3vh, 3rem) !important;
    flex: 0 0 auto;
  }

  .experiences {
    flex: 0 1 auto;
    align-items: start;
  }

  .experience-photo {
    height: min(56vw, calc(100svh - 18rem));
    min-height: 16rem;
    max-height: 68svh;
  }
}

@media (max-width: 991.98px) {
  .landing {
    align-items: flex-start !important;
  }

  .hero-heading {
    margin-top: .5rem;
    margin-bottom: 2.25rem !important;
  }

  .hero-heading h1,
  .hero-heading p {
    font-size: clamp(1.44rem, 5.6vw, 2.4rem);
  }

  .experiences {
    row-gap: 4rem;
  }

  .experience-card {
    max-width: 640px;
    margin-inline: auto;
  }

  .experience-title {
    font-size: clamp(1.15rem, 4.42vw, 1.83rem);
  }

  .experience-address {
    font-size: clamp(1.15rem, 4.4vw, 1.8rem);
  }
}

@media (max-width: 575.98px) {
  .landing {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }

  .experiences {
    row-gap: 3.75rem;
  }

  .experience-title {
    margin-bottom: 1rem;
    font-size: clamp(1.19rem, 5.27vw, 1.7rem);
  }

  .experience-address {
    margin-top: 1.2rem;
    font-size: clamp(1.18rem, 5vw, 1.65rem);
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .hero-heading h1,
  .hero-heading p {
    font-size: clamp(1.16rem, 1.84vw, 2.24rem);
  }

  .experience-title {
    font-size: clamp(.96rem, 1.44vw, 1.92rem);
    margin-bottom: .8rem;
  }

  .experience-address {
    font-size: clamp(.84rem, 1.32vw, 1.6rem);
    margin-top: .75rem;
  }

  .experience-photo {
    height: min(48vw, calc(100svh - 13.5rem));
    max-height: 62svh;
  }
}
