:root {
  --bg: #000;
  --fg: #ececf0;
  --muted: #8b8b93;
  --stone: #d8c19a;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- home */

.home {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
}

.home h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ---------------------------------------------------------------- top bar */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 3.2rem);
  padding: clamp(0.9rem, 2.4vh, 1.6rem) 1rem;
  pointer-events: none;
}

.topbar a {
  pointer-events: auto;
  display: inline-block;
  color: var(--fg);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.72rem, 1.5vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* the "slanted text" */
  transform: skewX(-15deg);
  transform-origin: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65);
  transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}

@media (max-width: 560px) {
  .topbar {
    gap: 0.7rem;
    row-gap: 0.35rem;
  }
  .topbar a {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
}

.topbar a:hover,
.topbar a:focus-visible {
  color: var(--stone);
  text-shadow: 0 0 14px rgba(216, 193, 154, 0.45);
  transform: skewX(-15deg) translateY(-1px);
  outline: none;
}

/* ---------------------------------------------------------------- contact */

.contact {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
}

.contact .eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--muted);
}

.contact h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.contact .mail {
  color: var(--stone);
  text-decoration: none;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(216, 193, 154, 0.4);
}

.contact .mail:hover,
.contact .mail:focus-visible {
  border-color: var(--stone);
  outline: none;
}

.contact .links {
  display: flex;
  gap: 1.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact .links a:hover,
.contact .links a:focus-visible {
  color: var(--fg);
  outline: none;
}
