@font-face {
  font-family: "Montserrat";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/montserrat-500.woff2") format("woff2");
}

:root {
  --rh-ink: #242424;
  --rh-cyan: #25b4e8;
  --rh-blue: #1674b0;
  --rh-fog: #cfcfcf;
  /* Page background: a soft cyan-tinted wash instead of stark white. */
  --rh-bg-top: #f0f8fc;
  --rh-bg-bottom: #d9ecf6;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  background: var(--rh-bg-bottom) linear-gradient(160deg, var(--rh-bg-top), var(--rh-bg-bottom)) no-repeat;
  color: var(--rh-ink);
  font: 500 .8125rem/1.6 "Montserrat", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-align: center;
}
main { width: 100%; padding: 2rem 1.5rem; }
.logo { display: block; width: 100%; max-width: 36rem; height: auto; margin: 0 auto 2.5rem; }
.about { margin: 0 0 .75rem; }
.contact { margin: 0; }
a { color: var(--rh-blue); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--rh-cyan); outline-offset: 4px; border-radius: 2px; }

/* Below 410px, scale type down in step with the viewport (13px at 410px). */
@media (max-width: 410px) {
  body { font-size: max(9px, 3.17vw); }
}
