/* Parlour — single stylesheet, no external fonts or assets. */

:root {
  --paper: #f6f3ee;
  --ink: #1a1a1a;
  --muted: #6b665e;
  --rule: #d9d3c8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;   /* 18px */
  line-height: 1.75rem;  /* 28px */
  -webkit-font-smoothing: antialiased;
}

p { margin: 0; text-wrap: pretty; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  max-width: calc(680px + 2 * 24px);
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: flex;
  flex-direction: column;
}

.wordmark {
  margin: 0;
  line-height: 0;
}

.wordmark img {
  display: block;
  width: 200px;
  height: auto;
}

.wordmark a { display: inline-block; }

.about {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 12px;
}

.contact { margin-top: 48px; }

.label {
  margin: 0 0 4px;
  font-size: 0.75rem;    /* 12px */
  line-height: 1rem;     /* 16px */
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

a:hover { text-decoration-color: currentColor; }

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

.footer {
  margin-top: auto;
  padding-top: 64px;
  font-size: 0.875rem;   /* 14px */
  line-height: 1.25rem;  /* 20px */
  color: var(--muted);
}

.skip {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus { transform: none; }

@media (min-width: 768px) {
  .page { padding-top: 96px; padding-bottom: 40px; }
  .wordmark img { width: 280px; }
  .about { margin-top: 64px; }
  body { font-size: 1.25rem; line-height: 1.75rem; } /* 20px / 28px */
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
