@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/media/bricolage-grotesque.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/media/dm-sans.ttf') format('truetype');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #25232d;
  --muted: #5e5a64;
  --red: #b73530;
  --blue: #244dc7;
  --purple: #663d7e;
  --yellow: #f6dc6c;
  font-family: 'DM Sans', sans-serif;
  scrollbar-color: var(--purple) var(--paper);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(100%, 76rem);
  margin-inline: auto;
  padding: 64px clamp(24px, 6vw, 80px);
}

h1 {
  margin: 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  font-variation-settings: 'opsz' 72, 'wdth' 100;
}

.period { color: var(--red); }
.status {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.map-entry {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  margin-top: 40px;
  padding: 14px 20px;
  background: var(--blue);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 5px;
  -webkit-tap-highlight-color: transparent;
}

.map-entry:hover { background: var(--purple); }
.map-entry:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  flex: none;
}

::selection { background: var(--yellow); color: var(--ink); }

@media (max-width: 480px) {
  main { padding-block: 48px; }
  h1 { font-size: clamp(3.6rem, 17vw, 4.5rem); }
  .status { font-size: 18px; }
}
