/* House of May LLC, placeholder.
   Brand: classical Didone serif, deep forest green ink on warm paper. */

/* Self-hosted Libre Bodoni (SIL OFL), variable weight. See fonts/OFL.txt. */
@font-face {
  font-family: "Libre Bodoni";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/libre-bodoni.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #FAF8F3;       /* warm off-white, bookplate paper */
  --ink: #1F3D2D;         /* brand deep forest green */
  --muted: #51625A;       /* muted green-gray, secondary text */
  --hairline: #C9D2CB;    /* soft green-tinted rule */
  --decoration: #9FB0A4;  /* link underline, resting */
  --serif: "Libre Bodoni", "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", Georgia, serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

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

.lockup-art {
  display: block;
  width: clamp(176px, 30vw, 244px);
  height: auto;
  margin: 0 auto;
}

.statement {
  margin: 0.4rem auto 0;
  max-width: 32ch;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.rule {
  width: 48px;
  height: 1px;
  margin: 2rem auto;
  border: 0;
  background: var(--hairline);
}

.contact {
  margin: 0;
  font-size: 1.0625rem;
}

.contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--decoration);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 120ms ease;
}

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

footer {
  flex: 0 0 auto;
  padding-top: 2rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* 404 page */
.mark-link {
  display: block;
  width: max-content;
  margin: 0 auto;
  border-radius: 8px;
}

.mark-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.notfound-title {
  margin: 0.4rem 0 0;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.2vw, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--ink);
}
