@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jost-400-latin.woff2") format("woff2");
}

:root {
  --bg: #222b33;
  --bg-lower: color-mix(in srgb, var(--bg), white 5%);
  --accent: #b39459;
  --text: #eef0f3;
  --text-muted: rgba(238, 240, 243, 0.58);
}

* { box-sizing: border-box; }

body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, var(--bg) 0 64%, var(--bg-lower) 64% 100%);
  color: var(--text);
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: absolute;
  top: 64%;
  left: 50%;
  width: 6rem;
  height: 1px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

/* Letter-spacing trails the last glyph; matching left padding keeps each line optically centred. */
h1 {
  margin: 0;
  padding-left: 0.32em;
  font-weight: 400;
  font-size: clamp(1.25rem, 4.5vw, 2.25rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

main p {
  margin: 1.5rem 0 0;
  padding-left: 0.28em;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

main a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer {
  display: grid;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

footer a {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
