:root {
  color-scheme: light dark;
  font-family: "DM Sans", sans-serif;
  --background: #f7f3ec;
  --foreground: #171717;
  --muted: #6a655e;
  --accent: #ef5a29;
  color: var(--foreground);
  background: var(--background);
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d1423;
    --foreground: #f7f3ec;
    --muted: #b9b5ae;
    --accent: #f05b46;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  background: var(--background);
}

main {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr;
  padding: clamp(0.25rem, 1vw, 0.75rem) clamp(2rem, 5vw, 4rem)
    clamp(2rem, 5vw, 4rem);
}

.logo {
  justify-self: center;
  line-height: 0;
}

.logo img {
  display: block;
  width: clamp(9rem, 20vw, 13rem);
  height: auto;
}

section {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(4rem, 12vh, 8rem);
  text-align: center;
}

h1 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

h1 span {
  color: #bc2c24;
}

.contact {
  margin-top: 2rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.contact a {
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--foreground);
  text-decoration-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .contact a {
    transition: none;
  }
}
