@font-face {
  font-family: "Urbanist";
  src: url("assets/urbanist-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Urbanist";
  src: url("assets/urbanist.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ink: #110d09;
  --ivory: #f4ede1;
  --champagne: #dcc3a2;
  --gutter: clamp(1.5rem, 6.1vw, 8rem);
  background: var(--ink);
  color: var(--ivory);
  font-family: "Urbanist", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-block-size: 100vh;
  min-block-size: 100svh;
}

.hero-image,
.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-image {
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero::before {
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgb(17 13 9 / 56%), transparent 20%),
    linear-gradient(90deg, rgb(17 13 9 / 38%), rgb(17 13 9 / 12%) 45%, transparent 70%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 3.7vh, 2.5rem) var(--gutter) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.625rem, 1vw, 0.875rem);
}

.brand-symbol {
  display: block;
  inline-size: clamp(2.125rem, 3.5vw, 3.125rem);
  block-size: auto;
}

.wordmark {
  display: block;
  inline-size: clamp(6.375rem, 8.6vw, 8rem);
  block-size: auto;
}

.contact {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  color: var(--ivory);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(244 237 225 / 48%);
  text-underline-offset: 0.4em;
  text-decoration-thickness: 1px;
}

.contact:hover {
  text-decoration-color: currentColor;
}

.contact:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 5px;
}

.intro {
  align-self: center;
  padding: 3rem var(--gutter) clamp(5rem, 14svh, 9rem);
}

.positioning {
  margin: 0 0 1.2rem;
  color: var(--champagne);
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 600;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7.85vw, 8.25rem);
  font-weight: 575;
  line-height: 1.04;
}

.contact,
.positioning,
.intro h1 {
  letter-spacing: -0.04em;
}

@media (max-width: 58rem) and (orientation: portrait) {
  .hero-image {
    inset-block-start: 28%;
    block-size: 72%;
    object-position: 88% center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      var(--ink) 27%,
      rgb(17 13 9 / 84%) 34%,
      rgb(17 13 9 / 25%) 59%,
      transparent 76%
    );
  }

  .intro {
    align-self: start;
    padding-block: clamp(3.5rem, 11.5svh, 7.5rem) 3rem;
  }

  .positioning {
    margin-block-end: 1rem;
  }

  .intro h1 {
    font-size: clamp(2.5rem, 13.8vw, 6.875rem);
  }
}

@media (max-height: 32rem) and (orientation: landscape) {
  .site-header {
    padding-block-start: 0.75rem;
  }

  .intro {
    padding-block: 1.75rem 2rem;
  }

  .intro h1 {
    font-size: clamp(3rem, 7.4vw, 5.75rem);
  }
}
