:root {
  --paper: #f7f4ec;
  --ink: #1f3347;
  --muted: #59626b;
  --rule: #cbc4b3;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14191e;
    --ink: #e9e4d8;
    --muted: #a5a9a1;
    --rule: #3a434b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  text-align: center;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

/* The whole page is one card, centred like a letterhead. */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 40px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.mark {
  width: 104px;
  height: 104px;
}

/* Letter-spacing leaves a gap after the last letter; the left padding on each
   spaced-out line balances it so the text sits truly centred. */
.wordmark {
  padding-left: 0.3em;
  font-size: clamp(0.9rem, 4.6vw, 1.4rem);
  letter-spacing: 0.3em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

hr {
  width: 132px;
  margin: 34px 0;
  border: 0;
  border-top: 3px double var(--rule);
}

.contact { margin: 0; }

.label, .signin {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label {
  display: block;
  margin-bottom: 6px;
  padding-left: 0.22em;
  color: var(--muted);
}

.signin {
  margin: 30px 0 0;
  padding-left: 0.22em;
}

.signin a { text-decoration: none; }
.signin a:hover { text-decoration: underline; }

footer {
  padding: 0 20px 32px;
  color: var(--muted);
  font-size: 0.75rem;
}

footer p { margin: 0; }
