:root {
  color-scheme: light;
  --canvas: #f3eee5;
  --ink: #24211d;
  --muted: #6f675d;
  --accent: #98583f;
  --line: rgba(86, 73, 60, 0.18);
  --content-width: 76rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  background: var(--canvas);
}

body {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(100% - 3rem, var(--content-width));
  margin-inline: auto;
}

.site-header {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.wordmark {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  font-weight: 680;
  line-height: 1;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-mark {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.wordmark-mark::after {
  position: absolute;
  inset: 0.22rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.hero {
  display: flex;
  width: min(100% - 3rem, var(--content-width));
  margin-inline: auto;
  padding-block: clamp(4rem, 11vh, 8rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  color: var(--muted);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 620;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(3.75rem, 10vw, 8.8rem);
  font-weight: 610;
  line-height: 0.86;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 35rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.motto {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin: 1rem 0 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  line-height: 1.5;
}

.motto::before {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

.contact {
  position: relative;
  padding-block: 0.3rem;
  color: var(--ink);
  font-weight: 620;
  text-decoration-color: rgba(36, 33, 29, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  overflow-wrap: anywhere;
}

.wordmark:focus-visible,
.contact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

.contact:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.loop-motif {
  position: fixed;
  z-index: -1;
  top: 50%;
  right: clamp(-15rem, -10vw, -5rem);
  width: clamp(20.25rem, 38vw, 37rem);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-7deg);
  opacity: 0.6;
  pointer-events: none;
}

.loop {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.loop-one {
  inset: 0;
}

.loop-two {
  inset: 12%;
  border-color: rgba(152, 88, 63, 0.2);
}

.loop-three {
  inset: 25%;
}

@media (max-width: 44rem) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 2.25rem, var(--content-width));
  }

  .site-header {
    padding-block: 1.35rem;
  }

  .hero {
    align-items: flex-end;
    padding-block: 3.25rem 4.25rem;
  }

  .eyebrow {
    max-width: 19rem;
  }

  h1 {
    font-size: clamp(3.65rem, 19vw, 6rem);
    line-height: 0.9;
  }

  .intro {
    max-width: 21rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 1.35rem 1.65rem;
  }

  .loop-motif {
    top: 37%;
    right: -14.5rem;
    width: 24.5rem;
    opacity: 0.48;
  }
}

@media (max-height: 43rem) and (min-width: 44.01rem) {
  .site-header {
    padding-block: 1.5rem;
  }

  .hero {
    padding-block: 2.5rem;
  }

  .site-footer {
    padding-block: 1.5rem;
  }
}

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