* {
  box-sizing: border-box;
}

:root {
  --ink: #191919;
  --muted: #646464;
  --paper: #f7f5f0;
  --white: #fcfbf8;
  --line: rgba(25, 25, 25, .16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
}

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

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(28px, 8vw, 125px);
  color: #171717;
}

.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  letter-spacing: .32em;
}

nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
}

nav a {
  padding: 7px 0;
  opacity: .78;
}

nav a:hover,
nav a.active {
  opacity: 1;
}

nav a.active {
  border-bottom: 1px solid currentColor;
}

.search {
  justify-self: end;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.search span {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  left: 3px;
  top: 3px;
}

.search span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.8px;
  background: currentColor;
  transform: rotate(45deg);
  right: -5px;
  bottom: -3px;
}

.hero {
  min-height: 650px;
  height: 76vh;
  max-height: 820px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(225, 225, 220, .45), rgba(12, 26, 40, .06) 50%, rgba(10, 23, 36, .4)),
    url("assets/hero.webp") center / cover no-repeat;
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(8,18,28,.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 45px;
}

.hero h1 {
  margin: 10px 0 5px;
  font: 400 clamp(70px, 9vw, 124px)/.9 "Playfair Display", Georgia, serif;
  letter-spacing: .035em;
  color: #ffffff;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: .42em;
}

.intro {
  margin: 35px 0 0;
  font: 400 clamp(19px, 2vw, 25px)/1.5 "Playfair Display", Georgia, serif;
  color: #ffffff;
}

.explore {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 165px;
  font-size: 10px;
  letter-spacing: .38em;
}

.chevron {
  font-size: 25px;
  line-height: .7;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 28px;
  margin: 0;
  color: #fff;
  font-size: 9px;
  letter-spacing: .34em;
}

.explore-grid {
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 70px clamp(25px, 7vw, 110px) 80px;
  gap: 28px;
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  font-size: 37px;
  font-family: Georgia, serif;
  font-weight: 300;
  margin-bottom: 22px;
}

.feature h2 {
  margin: 0;
  font: 400 23px/1.2 "Playfair Display", Georgia, serif;
}

.feature p {
  max-width: 180px;
  min-height: 68px;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.feature > span {
  font-size: 9px;
  letter-spacing: .34em;
}

.quote {
  background: var(--white);
  text-align: center;
  padding: 25px 20px 110px;
}

.rule {
  width: 62px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 36px;
}

blockquote {
  margin: 0;
  font: italic 400 clamp(27px, 3.1vw, 39px)/1.3 "Playfair Display", Georgia, serif;
}

.short-rule {
  width: 42px;
  height: 1px;
  background: var(--line);
  margin: 38px auto 24px;
}

.quote p {
  margin: 0;
  font-size: 9px;
  letter-spacing: .48em;
}

footer {
  background: #f1efe9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 42px clamp(28px, 7vw, 110px);
}

footer strong {
  font: 400 18px "Playfair Display", Georgia, serif;
  letter-spacing: .32em;
}

footer p {
  color: var(--muted);
  font-size: 12px;
  margin: 9px 0 0;
}

.footer-links {
  display: flex;
  gap: 31px;
  align-items: center;
  font-size: 9px;
  letter-spacing: .25em;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-links span {
  font-size: 21px;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 70px;
    padding: 0 22px;
  }

  .hero {
    min-height: 680px;
    height: 88vh;
  }

  .hero-content {
    margin-top: 20px;
    padding: 0 20px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: .28em;
  }

  .hero h1 {
    font-size: 70px;
  }

  .intro {
    margin-top: 25px;
    font-size: 18px;
  }

  .desktop {
    display: none;
  }

  .explore {
    margin-top: 130px;
  }

  .hero-meta {
    right: 50%;
    transform: translateX(50%);
    width: max-content;
    font-size: 7px;
    bottom: 22px;
  }

  .explore-grid {
    grid-template-columns: 1fr 1fr;
    padding: 55px 20px;
    gap: 52px 15px;
  }

  .feature p {
    min-height: auto;
    margin-bottom: 20px;
  }

  .quote {
    padding-bottom: 75px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }
}