@font-face {
  font-family: Quicksand;
  src: url("assets/quicksand-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy: #141B3A;
  --paper: #F6F3EC;
  --yellow: #FFC400;
  --muted: #B9BDD0;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--paper);
  font-family: Quicksand, "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  width: min(30rem, 100%);
  height: auto;
}

h1 { width: 100%; margin: 0; font-size: 1rem; line-height: 0; }

p { margin: 0; }

ul {
  list-style: none;
  margin: 2.5rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

li a {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--paper);
  transition: color 0.15s ease-out;
}

li svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }

/* On hover, a drop lands in the middle of the icon and spreads out, with one ripple ring. */
li a::before,
li a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
}

li a::before {
  background: var(--paper);
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}

li a::after {
  border: 2px solid var(--paper);
  opacity: 0;
}

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

li a:hover::before,
li a:focus-visible::before { transform: scale(1); }

li a:hover::after,
li a:focus-visible::after { animation: ripple 0.5s ease-out; }

@keyframes ripple {
  from { transform: scale(0.5); opacity: 0.8; }
  to { transform: scale(1.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  li a, li a::before { transition: none; }
  li a:hover::after, li a:focus-visible::after { animation: none; }
}

a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.contact { font-size: 1rem; }

.contact a { color: var(--muted); text-decoration: none; }

.contact a:hover { color: var(--paper); text-decoration: underline; }

footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

