:root {
  color-scheme: dark;
  --text: rgba(250, 246, 238, 0.94);
  --muted: rgba(250, 246, 238, 0.58);
  --line: rgba(250, 246, 238, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #080a0c;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(4, 6, 8, 0.82), rgba(4, 6, 8, 0.42)),
    linear-gradient(0deg, rgba(4, 6, 8, 0.28), rgba(4, 6, 8, 0.28)),
    url("/assets/ebre-miravet.jpg") center / cover no-repeat fixed;
}

a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 0.28em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.hero {
  align-self: center;
  max-width: 46rem;
}

.eyebrow,
.signal,
.footer {
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 17vw, 15rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.82;
  text-wrap: balance;
}

.signal {
  max-width: 24rem;
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  align-self: end;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }

  .site-shell {
    padding: 1.25rem;
  }

  .footer {
    letter-spacing: 0.12em;
  }
}
