@font-face {
  font-family: 'EB Garamond';
  src: url('/assets/eb-garamond-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #173fa8;
  --white: #ffffff;
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  color: var(--blue);
  background: var(--white);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--white);
}

body {
  color: var(--blue);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main,
.contact-card {
  min-height: 100vh;
  min-height: 100svh;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

h1 {
  margin: 0;
  padding-left: 0.38em;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  white-space: nowrap;
}

address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: 2.5rem;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-style: normal;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-line: underline;
}

a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 0.35rem;
}

::selection {
  color: var(--white);
  background: var(--blue);
}
