:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .24);
  --gold: #d8bd78;
  --shadow: rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

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

body {
  background: #111714;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.brand {
  position: fixed;
  z-index: 5;
  top: clamp(1.1rem, 3.2vw, 2.45rem);
  right: 0;
  left: 0;
  width: 100%;
  padding-inline: clamp(1rem, 4vw, 3rem);
  text-align: center;
  animation: fade-brand .8s ease .08s both;
  pointer-events: none;
}

.brand img {
  display: block;
  width: clamp(250px, 28vw, 420px);
  height: auto;
  margin: 0 auto .9rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .34));
}

.brand p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(.95rem, 1.45vw, 1.25rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 10px 30px var(--shadow);
}

.markets {
  display: flex;
  min-height: 100svh;
  width: 100%;
}

.market {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  flex: 0 0 50%;
  align-items: end;
  overflow: hidden;
  padding: clamp(9.5rem, 18vh, 14rem) clamp(1.4rem, 4.5vw, 5.8rem) clamp(6rem, 12vh, 8.5rem);
  transition: flex-basis .75s cubic-bezier(.2, .8, .2, 1), flex-grow .75s cubic-bezier(.2, .8, .2, 1);
}

.market:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -8px;
}

.market-bg,
.market-video,
.market-shade {
  position: absolute;
  inset: 0;
}

.market-bg {
  z-index: -3;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: slow-zoom 18s ease-in-out infinite alternate;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

.market-video {
  z-index: -2;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: 50% center;
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

.market-ms .market-bg {
  background-image: url("assets/mississippi-gulf-coast.png");
  background-position: 54% center;
}

.market-co .market-bg {
  background-image: url("assets/colorado-mountains.png");
  background-position: 42% center;
  animation-delay: -5s;
}

.market-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 8, .46), rgba(6, 9, 8, .16) 34%, rgba(6, 9, 8, .76)),
    linear-gradient(90deg, rgba(7, 12, 11, .68), rgba(7, 12, 11, .16) 52%, rgba(7, 12, 11, .62));
  transition: opacity .65s ease, background .65s ease;
}

.market + .market {
  border-left: 1px solid var(--line);
}

.market-content {
  display: grid;
  width: min(100%, 560px);
  gap: 1rem;
  animation: fade-up .82s ease .3s both;
}

.market-kicker {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.market-title {
  display: block;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5.3rem);
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 18px 44px var(--shadow);
}

.market-copy {
  display: block;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.market-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  margin-top: .6rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: #c2a25b;
  color: #141611;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .markets:hover .market {
    flex-basis: 42%;
  }

  .markets .market:hover {
    flex-basis: 58%;
  }

  .market:hover .market-bg,
  .market:hover .market-video {
    transform: scale(1.1) translate3d(1.2%, 0, 0);
  }

  .market:hover .market-shade {
    opacity: .92;
  }

  .market:hover .market-button {
    border-color: var(--gold);
    background: #a98945;
    color: #141611;
    transform: translateY(-2px);
  }
}

.site-footer {
  position: fixed;
  z-index: 6;
  bottom: clamp(.9rem, 2.5vw, 1.5rem);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  text-align: center;
  animation: fade-in .8s ease .65s both;
}

.site-footer nav {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.site-footer a {
  min-width: 42px;
  padding: .55rem .75rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
  transition: background .25s ease, border-color .25s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .18);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-brand {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.04) translate3d(-.6%, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(.6%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .market-video {
    display: none;
  }
}

@media (max-width: 760px) {
  .landing {
    min-height: 100dvh;
    overflow-y: auto;
  }

  .brand {
    top: 1.1rem;
    width: min(90vw, 430px);
  }

  .brand img {
    width: 230px;
    margin-bottom: .45rem;
  }

  .brand p {
    margin-top: .55rem;
    font-size: .74rem;
    line-height: 1.35;
  }

  .markets {
    flex-direction: column;
    min-height: 100dvh;
  }

  .market {
    min-height: 0;
    height: 50dvh;
    padding: 4rem 1.25rem 3.35rem;
    align-items: end;
  }

  .market:first-child {
    padding-top: 9.5rem;
    padding-bottom: 2.4rem;
  }

  .market:last-child {
    padding-top: 4rem;
    padding-bottom: 5.7rem;
  }

  .market + .market {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .market-bg {
    animation-duration: 24s;
  }

  .market-video {
    object-position: 50% center;
  }

  .market-shade {
    background:
      linear-gradient(180deg, rgba(6, 9, 8, .64), rgba(6, 9, 8, .24) 42%, rgba(6, 9, 8, .82)),
      linear-gradient(90deg, rgba(7, 12, 11, .54), rgba(7, 12, 11, .14));
  }

  .market-content {
    gap: .72rem;
  }

  .market-title {
    max-width: 11ch;
    font-size: clamp(2.15rem, 10vw, 3.65rem);
  }

  .market-copy {
    max-width: 30rem;
    font-size: .98rem;
    line-height: 1.45;
  }

  .market-button {
    width: 100%;
    min-height: 56px;
    margin-top: .35rem;
  }

  .site-footer {
    position: absolute;
    bottom: .75rem;
    width: min(92vw, 360px);
    flex-direction: column;
    gap: .45rem;
    font-size: .76rem;
  }
}

@media (max-width: 420px) {
  .market:first-child {
    padding-top: 8.8rem;
  }

  .brand img {
    width: 210px;
  }
}
