:root {
  color-scheme: light;
  --paper: #f4efe7;
  --ink: #26231e;
  --muted: rgba(38, 35, 30, 0.66);
  --line: rgba(38, 35, 30, 0.18);
  --veil: rgba(244, 239, 231, 0.52);
  --shadow: rgba(42, 36, 27, 0.16);
  font-family:
    "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(22px, 4vw, 56px);
  isolation: isolate;
}

.hero-image,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(0.96);
}

.shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.94) 0%, var(--veil) 46%, rgba(247, 243, 236, 0.12) 100%),
    linear-gradient(180deg, rgba(244, 239, 231, 0.22), rgba(244, 239, 231, 0.7));
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.86rem);
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header {
  align-self: start;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.42rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.domain,
.site-footer {
  color: var(--muted);
}

.hero {
  align-self: center;
  width: min(620px, 100%);
  padding-block: clamp(56px, 10vh, 140px);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
  font-size: clamp(0.74rem, 0.7rem + 0.18vw, 0.86rem);
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 3.2rem + 5.2vw, 9.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
}

.lede {
  max-width: 440px;
  margin: clamp(22px, 4vw, 34px) 0 0;
  color: rgba(38, 35, 30, 0.78);
  font-size: clamp(1rem, 0.95rem + 0.32vw, 1.28rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.site-footer {
  align-self: end;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 22px;
  }

  .shade {
    background:
      linear-gradient(180deg, rgba(247, 243, 236, 0.96) 0%, rgba(247, 243, 236, 0.74) 48%, rgba(247, 243, 236, 0.22) 100%),
      linear-gradient(90deg, rgba(247, 243, 236, 0.84), rgba(247, 243, 236, 0.18));
  }

  .site-header {
    align-items: flex-start;
  }

  .domain {
    max-width: 11ch;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .hero {
    padding-block: 52px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.6rem, 17vw, 5.8rem);
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: slow-breath 18s ease-in-out infinite alternate;
    transform-origin: center;
  }
}

@keyframes slow-breath {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}
