@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/poppins-500.woff2") format("woff2");
}

:root {
  --cream: #fce5cd;
  --bronze: #783f04;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--bronze);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

::selection {
  background: var(--bronze);
  color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 4.5vw;
  background: var(--cream);
}

.logo {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo a {
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.45rem;
}

.site-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.content {
  padding: 2.4rem 6vw 3.4rem;
}

.intro {
  padding-top: 4.2rem;
  padding-bottom: 3.8rem;
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.45;
}

.op-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  width: min(100%, 36rem);
  margin-left: auto;
}

.op-copy h3,
.cols h3 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.op-copy p,
.cols p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.stack {
  display: flex;
  flex-direction: column;
}

.stack .op-copy,
.stack .cols {
  order: 1;
}

.stack .display {
  order: 2;
}

.display {
  margin: 2.3rem 0 0;
  font-size: clamp(2.35rem, 6.2vw, 4.75rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

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

.trio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trio.square img {
  aspect-ratio: 1;
}

.trio.wide img {
  aspect-ratio: 3 / 2;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2rem;
}

.cols p {
  max-width: 24em;
}

.close {
  padding-top: 3.2rem;
  padding-bottom: 4.6rem;
  text-align: center;
}

.close .display {
  margin-top: 0;
}

.mail {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.mail:hover {
  opacity: 0.72;
}

@media (max-width: 800px) {
  .op-copy,
  .cols,
  .trio {
    grid-template-columns: 1fr;
  }

  .op-copy {
    width: 100%;
    margin-left: 0;
  }

  .trio.square img,
  .trio.wide img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.9rem 5vw;
  }

  .content {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .intro {
    padding-top: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
