@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --water: #040d0d;
  --text: #f0f2e9;
  --muted: #c7d5cc;
  --accent: #d7ecc4;
  color-scheme: dark;
  font-family: Geist, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--water);
  color: var(--text);
}

.site {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding-block: clamp(2rem, 7.2svh, 5rem) clamp(1.5rem, 5.6svh, 4rem);
  padding-inline: 5.9vw;
}

.artwork,
.artwork img,
.artwork::after {
  position: absolute;
  inset: 0;
}

.artwork {
  z-index: -1;
  pointer-events: none;
}

.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.artwork::after {
  content: "";
  background:
    linear-gradient(90deg, #020a0a4d, transparent 78%),
    linear-gradient(0deg, #020a0aa3, transparent 22%, transparent 75%, #020a0a40);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
}

.brand-mark {
  display: grid;
  align-content: center;
  gap: 0.14em;
  width: 1.08em;
  transform: skewX(-24deg) translateX(0.04em);
  color: var(--accent);
  font-size: clamp(1.125rem, 2vw, 1.45rem);
}

.brand-mark span {
  display: block;
  width: 100%;
  height: 0.12em;
  border-radius: 0.025em;
  background: currentColor;
}

.brand-mark span:nth-child(2) {
  width: 68%;
  margin-inline-start: 12%;
}

.brand-mark span:nth-child(3) {
  width: 84%;
}

.wordmark {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.047em;
}

.wordmark span {
  color: #c4d0c5;
  font-size: 0.85em;
  font-weight: 450;
}

.intro {
  align-self: center;
  margin-block: clamp(3rem, 9svh, 7rem) clamp(2rem, 3svh, 3rem);
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.875rem, 8.45vw, 7.5rem);
  font-weight: 450;
  line-height: 0.9;
  letter-spacing: -0.066em;
}

.intro em {
  display: block;
  margin: 0.015em 0 0 -0.025em;
  color: var(--accent);
  font: italic 400 1.18em / 0.84 "Instrument Serif", Georgia, serif;
  letter-spacing: -0.031em;
}

.intro p {
  max-width: 34ch;
  margin: clamp(1.35rem, 3.1vw, 2.1875rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.76vw, 1.1875rem);
  line-height: 1.55;
  text-wrap: balance;
}

.signoff {
  border-top: 1px solid #d7ece440;
  padding-top: 0.9rem;
  color: #b8c9be;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 40rem) {
  .site {
    padding-block: clamp(1.5rem, 5.7svh, 3.5rem) clamp(1.25rem, 5svh, 3rem);
    padding-inline: 7.8vw;
  }

  .artwork img {
    inset-block-start: 34%;
    height: 66%;
    object-position: 78% 60%;
  }

  .artwork::after {
    background:
      linear-gradient(0deg, #040d0de8, transparent 22%),
      linear-gradient(180deg, #040d0d 33%, #040d0d5e 52%, transparent 67%);
  }

  .intro {
    align-self: start;
    margin-block: clamp(3.5rem, 13.8svh, 7.5rem) clamp(4rem, 13svh, 7rem);
  }

  .intro h1 {
    font-size: clamp(2rem, 13.5vw, 4.5rem);
  }

  .intro p {
    max-width: 32ch;
    margin-top: clamp(1.35rem, 6.3vw, 2rem);
  }
}
