:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff5dd;
  background: #242119;
  --page-gutter: clamp(24px, 4vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  min-height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  margin: 0;
}

.landscape {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(#fff0bf 30%, #8c623c 60%, #242119);
}

.landscape__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
  animation: daybreak 4s cubic-bezier(.2, .65, .3, 1) both;
}

.landscape::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgb(19 18 14 / 12%) 67%, rgb(19 18 14 / 66%) 100%);
  pointer-events: none;
}

.site-header {
  padding: max(24px, env(safe-area-inset-top)) var(--page-gutter) 0;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #30291d;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: 1px;
}

.home-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.home-link svg {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration-color: currentColor;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 26svh var(--page-gutter) clamp(52px, 9svh, 120px);
}

.wordmark {
  margin: 0 .065em 0 0;
  font-size: clamp(80px, 31vw, 620px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.075em;
}

.site-footer {
  padding: 0 var(--page-gutter) max(28px, env(safe-area-inset-bottom));
}

.site-footer small {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .01em;
}

.contact-fallback {
  margin: 24px 0 0;
  font-size: 13px;
  text-align: center;
}

@keyframes daybreak {
  from {
    filter: brightness(.68) saturate(.8);
    transform: scale(1.045) translateY(1%);
  }
  to {
    filter: brightness(1) saturate(1);
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  main {
    padding-right: 16px;
    padding-bottom: 16svh;
    padding-left: 16px;
  }

  .wordmark {
    font-size: 33vw;
  }

  .site-footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

@media (max-height: 500px) {
  main {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .wordmark {
    font-size: min(29vw, 48svh);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
