@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/Jost-latin.woff2) format("woff2");
}

:root {
  --paper: #FFFFFF;
  --ink: #000000;
  --quiet: #4E5360;
  --link: #2F7BF6;
  --frost: rgba(255, 255, 255, 0.74);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Without JavaScript there is no animated light; a still wash stands in for it. */
  background: linear-gradient(125deg, #FFD98A 0%, #FFB0B0 30%, #D7C2FF 62%, #A9CBFF 100%) fixed;
}

.js body { background: transparent; } /* the canvas behind it carries the light */

.light {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

main {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.stage {
  flex: 1;
  min-height: 52svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.mark { width: min(46vmin, 360px); height: auto; }
.js .mark { visibility: hidden; }

.band {
  background: var(--frost);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  backdrop-filter: blur(28px) saturate(1.15);
  padding: clamp(1.75rem, 4vh, 2.75rem) 16px 1.25rem;
}

.band-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 3rem;
}

h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.05;
}

.motto {
  margin: 0.3em 0 0;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.03em;
  color: var(--quiet);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  font-size: 1.05rem;
}

address { font-style: normal; }

dl {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.1rem 1.1rem;
  margin: 0;
}

dt { color: var(--quiet); font-weight: 300; }
dd { margin: 0; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--link); }

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  max-width: 1080px;
  margin: clamp(1.5rem, 4vh, 2.5rem) auto 0;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--quiet);
}

@media (max-width: 640px) {
  .band-inner { flex-direction: column; align-items: flex-start; }
}
