@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-display-normal-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-display-italic-500.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

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

@font-face {
  font-family: Urbanist;
  src: url("/assets/urbanist-normal-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  color: #fff;
  background: #070707;
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 500;
  --accent: #d3afff;
  --gutter: clamp(24px, 5vw, 60px);
  --hero-content: 1000px;
}

* {
  box-sizing: border-box;
}

body { margin: 0; }

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

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

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 720px;
  padding: 125px var(--gutter);
  background: #101013;
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead,
.socials {
  position: absolute;
  inset-inline: var(--gutter);
  width: min(var(--hero-content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.masthead {
  top: 10px;
  justify-content: space-between;
}

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

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 35px;
  border: 1px solid currentColor;
  border-radius: 100vw;
  font-size: 16px;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.contact:hover { background-color: rgb(255 255 255 / 12%); }

h1 {
  margin: 0;
  text-align: center;
  font: 500 clamp(51px, 5.47vw, 70px) / 1.07 "Playfair Display", Georgia, serif;
}

.headline-line { display: block; }

.socials {
  justify-content: flex-end;
  gap: 24px;
  bottom: 66px;
  font-size: 24px;
  line-height: 1.2;
}

.socials a:hover { color: var(--accent); }

.manifesto {
  width: min(792px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: 100px 104px;
  font-size: clamp(36px, 4.38vw, 56px);
  line-height: 1.15;
}

.manifesto p { margin: 0; }

.manifesto .manifesto-detail {
  width: min(590px, 100%);
  margin: 50px 0 50px auto;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.3;
}

.manifesto-detail span,
.manifesto-closing strong { color: var(--accent); }

.manifesto-closing strong {
  display: block;
  text-align: right;
  font-weight: 700;
}

@media (max-width: 680px) {
  .hero { padding: 184px var(--gutter) 156px; }

  .masthead {
    top: 4px;
    flex-direction: column;
    gap: 36px;
  }

  .wordmark img { width: 159px; }

  h1 { font-size: clamp(39px, 12.1vw, 52px); }

  .headline-line > span { display: block; }

  .headline-line:first-child > span { margin-top: 0.3em; }

  .headline-line + .headline-line { margin-top: 0.2em; }

  .socials {
    bottom: 62px;
    flex-direction: column;
    gap: 19px;
    font-size: 18px;
  }

  .manifesto {
    --gutter: clamp(24px, 9.5vw, 44px);
    padding-block: 48px 66px;
    font-size: clamp(34px, 10.1vw, 44px);
  }

  .manifesto .manifesto-detail {
    margin: 36px 0 36px auto;
    font-size: 24px;
  }

  .manifesto-closing strong { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact { transition: none; }
}
