@font-face {
  font-family: "Dico Slab";
  src:
    url("../fonts/DicoSlab-Regular.woff2") format("woff2"),
    url("../fonts/DicoSlab-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-text: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.78);
  --color-button-bg: #ffffff;
  --color-button-text: #111111;
  --color-panel: rgba(8, 11, 13, 0.46);
  --color-panel-border: rgba(255, 255, 255, 0.14);
  --font-brand: "Dico Slab", Georgia, serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  background-color: #101417;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("../images/background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.content-card {
  width: min(100%, 720px);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: var(--color-panel);
  border: 1px solid var(--color-panel-border);
  border-radius: 2px;
  backdrop-filter: blur(2px);
}

.logo {
  display: block;
  width: min(220px, 68vw);
  height: auto;
  margin: 0 auto clamp(2rem, 5vw, 3.25rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
  font-family: var(--font-brand);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0 auto 1rem;
  font-family: var(--font-brand);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 42rem;
  margin: 0 auto 2.25rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.65rem;
  color: var(--color-button-text);
  font-family: var(--font-brand);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-button-bg);
  border: 1px solid var(--color-button-bg);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--color-text);
  background: transparent;
  transform: translateY(-1px);
}

.button:focus-visible,
.contact a:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

.contact {
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact a {
  color: inherit;
  text-underline-offset: 0.2em;
}

@media (max-width: 520px) {
  .landing {
    place-items: stretch;
    align-items: center;
  }

  .content-card {
    padding: 2rem 1.35rem;
  }

  h1 {
    max-width: 10ch;
  }

  .button {
    width: 100%;
  }
}

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