@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: #fff;
  background: #0c0c0c url('assets/studio-grain.webp') repeat center top / 56rem auto;
  font-family: 'DM Sans', system-ui, sans-serif;
  text-align: center;
}
main {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 1rem;
  display: grid;
  justify-items: center;
  grid-template-rows: minmax(3rem, 270fr) auto minmax(1.8rem, 80fr) auto
    minmax(2rem, 87fr) auto minmax(2.2rem, 96fr) auto minmax(2.6rem, 140fr) auto minmax(1.4rem, 50fr);
}
h1, p, ul { margin: 0; }
h1 { grid-row: 2; line-height: 0; }
.wordmark { width: clamp(14rem, 21.46vw, 25.75rem); max-width: 100%; height: auto; }
.tagline {
  grid-row: 4;
  font-size: clamp(1.15rem, 1.62vw, 1.95rem);
  line-height: 1.35;
  font-weight: 500;
}
.services {
  grid-row: 6;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  padding: 0;
  list-style: none;
  font-size: clamp(1rem, 1.46vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  line-height: 1.5;
}
.services li { white-space: nowrap; }
.services li:nth-child(n+4) { position: relative; left: 50%; }
.services li:is(:nth-child(2), :nth-child(3), :nth-child(5))::before {
  content: "•" / "";
  margin: 0 .55em;
}
.contact { grid-row: 8; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .44em .58em .44em .74em;
  border: .1em solid;
  font-size: clamp(1.05rem, 1.46vw, 1.75rem);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
}
.cta:hover, .cta:focus-visible { color: #121212; background: white; border-color: white; }
.details, .instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .42em;
  font-size: clamp(.875rem, 1.15vw, 1.375rem);
  font-weight: 800;
  letter-spacing: .09em;
}
.details { flex-wrap: wrap; margin-top: clamp(.8rem, 1.1vw, 1.32rem); }
.details a, .instagram { padding-block: .22em; }
.details a:hover, .instagram:hover { text-decoration: underline; text-underline-offset: .2em; }
.instagram { width: fit-content; margin: 0 auto; }
.instagram svg { width: 1.16em; height: 1.16em; }
footer { grid-row: 10; font-size: clamp(.8rem, .94vw, 1.125rem); line-height: 1.4; }
@media (max-width: 48rem) {
  body { background-size: 33rem auto; }
  main {
    grid-template-rows: minmax(2.8rem, 160fr) auto minmax(2rem, 142fr) auto
      minmax(2rem, 116fr) auto minmax(2rem, 143fr) auto minmax(2.3rem, 107fr) auto minmax(1.2rem, 50fr);
  }
  .wordmark { width: clamp(11.8rem, 52vw, 25.75rem); }
  .tagline { font-size: clamp(1.05rem, 3.85vw, 1.88rem); }
  .tagline span { display: block; }
  .services { display: block; font-size: clamp(1rem, 3.55vw, 1.75rem); line-height: 1.62; }
  .services li:nth-child(n+4) { position: static; }
  .services li::before { display: none; }
  .cta { font-size: clamp(1rem, 3.55vw, 1.75rem); }
  .details, .instagram { font-size: clamp(.875rem, 2.6vw, 1.3rem); letter-spacing: .06em; }
  .details { gap: .28em; }
  .instagram, .details a { min-height: 1.65rem; }
  footer { font-size: clamp(.8rem, 2.1vw, 1rem); }
}
@media (max-width: 25rem) {
  .details { flex-direction: column; gap: 0; }
  .divider { display: none; }
}
