@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --em-ink: #111418;
  --em-spark: #f4a261;
  --em-spark-deep: #df8742;
  --em-paper: #fcfbf8;
  --em-slate: #52606d;
  --em-mist: #e8ecef;
  --em-font: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--em-paper);
  color: var(--em-ink);
  min-width: 320px;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--em-font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

::selection {
  background: rgb(244 162 97 / 35%);
}

.site-shell {
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(1.35rem, 3.8vw, 3.5rem);
  position: relative;
  flex-direction: column;
}

.ambient-grid {
  background-image:
    linear-gradient(to right, rgb(17 20 24 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(17 20 24 / 4%) 1px, transparent 1px);
  background-size: clamp(3.5rem, 7vw, 7rem) clamp(3.5rem, 7vw, 7rem);
  inset: 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgb(0 0 0 / 8%) 38%,
    rgb(0 0 0 / 32%) 100%
  );
  pointer-events: none;
  position: absolute;
}

.site-header,
.site-footer,
.hero {
  position: relative;
  z-index: 1;
}

.site-header {
  align-items: center;
  display: flex;
}

.wordmark {
  align-items: baseline;
  display: inline-flex;
  font-size: clamp(2rem, 3.9vw, 3.6rem);
  letter-spacing: -0.075em;
  line-height: 0.95;
  text-decoration: none;
}

.wordmark__eigen {
  font-weight: 400;
}

.wordmark__made {
  font-weight: 700;
}

.wordmark__spark-i {
  display: inline-block;
  position: relative;
}

.wordmark__spark-i::after {
  background: var(--em-spark);
  border-radius: 999px;
  content: "";
  height: 0.13em;
  left: calc(50% + 0.045em);
  position: absolute;
  top: 0.01em;
  transform: translateX(-50%);
  width: 0.13em;
}

.hero {
  align-items: center;
  display: flex;
  flex: 1;
  margin: clamp(4rem, 10vh, 8rem) auto;
  max-width: 92rem;
  width: 100%;
}

.hero__copy {
  max-width: 58rem;
  min-width: 0;
}

.eyebrow {
  align-items: center;
  color: var(--em-slate);
  display: flex;
  font-size: 0.7rem;
  font-weight: 600;
  gap: 0.7rem;
  letter-spacing: 0.15em;
  margin: 0 0 clamp(1.5rem, 4vh, 2.75rem);
  text-transform: uppercase;
}

.eyebrow__spark {
  background: var(--em-spark);
  border-radius: 999px;
  height: 0.58rem;
  width: 0.58rem;
}

.hero h1 {
  font-size: clamp(3rem, 5.6vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.068em;
  line-height: 0.94;
  margin: 0;
  max-width: min(10.5ch, 100%);
  overflow-wrap: break-word;
}

.hero h1 span {
  display: block;
}

.hero__statement {
  color: var(--em-slate);
  font-size: clamp(1.3rem, 2.3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: clamp(1.7rem, 4vh, 3rem) 0 0;
}

.hero__scope {
  color: var(--em-slate);
  font-size: clamp(0.9rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  margin: 1rem 0 clamp(2.1rem, 5vh, 3.8rem);
  max-width: 39rem;
}

.email-link {
  border-bottom: 0.28rem solid var(--em-spark);
  display: inline-block;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  padding: 0 0 0.22rem;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.email-link:hover {
  border-color: var(--em-spark-deep);
}

.email-link:focus-visible,
.wordmark:focus-visible {
  border-radius: 0.1rem;
  outline: 3px solid var(--em-spark);
  outline-offset: 0.45rem;
}

.site-footer {
  align-items: center;
  color: var(--em-slate);
  display: flex;
  font-size: 0.65rem;
  font-weight: 600;
  gap: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__year {
  margin-left: auto;
}

@media (max-width: 860px) {
  .site-shell {
    min-height: 100svh;
  }

  .hero {
    align-items: start;
    margin-bottom: 4rem;
    margin-top: clamp(5.5rem, 12vh, 8rem);
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero__scope {
    max-width: 28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
