:root {
  --paper: #f4eadc;
  --paper-highlight: #faf4e9;
  --ink: #252525;
  --gold: #bc8d3f;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.landing,
.hero {
  min-height: 100svh;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 23%, rgba(255,255,255,.58) 0 14%, rgba(255,255,255,0) 46%),
    linear-gradient(180deg, var(--paper-highlight) 0%, var(--paper) 77%, #ead9c3 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .055;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(72, 53, 34, .12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(72, 53, 34, .06) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}

.content {
  position: relative;
  z-index: 2;
  width: min(900px, 90vw);
  padding-top: clamp(86px, 16vh, 175px);
  text-align: center;
}

.firm-name {
  margin: 0;
  font-family: "Bodoni 72", "Bodoni MT", Didot, "Didot LT STD", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .025em;
}

.firm-name span {
  display: block;
}

.firm-top {
  font-size: clamp(3rem, 6.5vw, 6.3rem);
}

.firm-bottom {
  margin-top: .16em;
  font-size: clamp(3.2rem, 6.8vw, 6.55rem);
  white-space: nowrap;
}

.practice-areas {
  width: min(840px, 86vw);
  margin: clamp(38px, 6vh, 62px) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.65vw, 27px);
  font-family: "Bodoni 72", "Bodoni MT", Didot, Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.05vw, 2rem);
  line-height: 1;
  letter-spacing: clamp(.11em, .34vw, .2em);
  text-transform: uppercase;
  white-space: nowrap;
}

.diamond {
  flex: 0 0 auto;
  width: clamp(9px, .9vw, 14px);
  aspect-ratio: 1;
  background: var(--gold);
  transform: rotate(45deg);
}

.divider {
  width: min(820px, 76vw);
  height: 2px;
  margin: clamp(42px, 6vh, 58px) auto 0;
  background: linear-gradient(90deg, rgba(188,141,63,.84), var(--gold), rgba(188,141,63,.84));
}

.coming-soon {
  margin: clamp(34px, 5vh, 48px) 0 0;
  font-family: "Bodoni 72", "Bodoni MT", Didot, Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1;
  letter-spacing: clamp(.42em, .75vw, .68em);
  text-indent: .68em;
  text-transform: uppercase;
}

.mountains {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(245px, 34vh, 385px);
  background-image: url("assets/colorado-mountains.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  pointer-events: none;
}

.mountains::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto;
  height: 42%;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(244,234,220,.82) 18%, rgba(244,234,220,0) 100%);
  pointer-events: none;
}

@media (max-width: 780px) {
  .content {
    width: 92vw;
    padding-top: clamp(70px, 12vh, 118px);
  }

  .firm-name {
    line-height: .98;
  }

  .firm-top {
    font-size: clamp(2.75rem, 12vw, 4.6rem);
  }

  .firm-bottom {
    font-size: clamp(2.35rem, 10.2vw, 4.15rem);
  }

  .practice-areas {
    width: 94vw;
    margin-top: 34px;
    gap: clamp(7px, 2vw, 13px);
    font-size: clamp(.78rem, 3.15vw, 1.2rem);
    letter-spacing: .08em;
  }

  .diamond {
    width: clamp(7px, 1.8vw, 10px);
  }

  .divider {
    width: 82vw;
    margin-top: 34px;
  }

  .coming-soon {
    margin-top: 28px;
    font-size: clamp(1rem, 4vw, 1.35rem);
    letter-spacing: .34em;
    text-indent: .34em;
  }

  .mountains {
    height: clamp(225px, 33vh, 330px);
    background-size: auto 100%;
  }
}

@media (max-width: 470px) {
  .firm-bottom {
    font-size: clamp(2rem, 9.2vw, 2.7rem);
  }

  .practice-areas {
    font-size: clamp(.65rem, 2.8vw, .84rem);
    gap: 6px;
    letter-spacing: .055em;
  }

  .divider {
    width: 86vw;
  }

  .mountains {
    height: 31vh;
    min-height: 210px;
  }
}

@media (max-height: 700px) and (min-width: 781px) {
  .content {
    padding-top: 52px;
  }

  .firm-top {
    font-size: clamp(3rem, 5.3vw, 4.8rem);
  }

  .firm-bottom {
    font-size: clamp(3.2rem, 5.6vw, 5rem);
  }

  .practice-areas {
    margin-top: 28px;
    font-size: clamp(1rem, 1.7vw, 1.5rem);
  }

  .divider {
    margin-top: 28px;
  }

  .coming-soon {
    margin-top: 25px;
  }

  .mountains {
    height: 31vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}
