/* Lore landing. One family (Literata), one accent, one column. */

:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --ink: #1b1e1c;
  --muted: #6c736f;
  --rule: #e4e6e1;
  --accent: #2f5f4f;
  --accent-ink: #ffffff;
  --accent-soft: #eaf1ed;
  --serif: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101311;
    --ink: #e8eae6;
    --muted: #9ba39d;
    --rule: #262c29;
    --accent: #8fc4af;
    --accent-ink: #101311;
    --accent-soft: #17231e;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101311;
  --ink: #e8eae6;
  --muted: #9ba39d;
  --rule: #262c29;
  --accent: #8fc4af;
  --accent-ink: #101311;
  --accent-soft: #17231e;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 24px;
}

.page {
  width: 100%;
  min-width: 0;
  max-width: 37rem;
  margin: 0 auto;
  padding-block: clamp(3.5rem, 12vh, 8rem) 3rem;
}

/* wordmark */
.word {
  margin: 0;
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
  gap: 0.22em;
}
.word .mark {
  display: inline-block;
  width: 0.07em;
  height: 0.74em;
  border-radius: 0.05em;
  background: var(--accent);
}

/* tagline */
.tag {
  margin: 1.4rem 0 0;
  font-size: clamp(22px, 2.6vw, 27px);
  font-style: italic;
  line-height: 1.35;
  color: var(--muted);
  text-wrap: balance;
  max-width: 24ch;
}

/* short rule between the claim and the prose */
.rule {
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  border: 0;
  margin: 2.6rem 0 2.4rem;
}

/* prose */
.prose p {
  font-size: 19.5px;
  line-height: 1.68;
  margin: 0 0 1.45em;
  text-wrap: pretty;
}
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }

/* invitation */
.invite {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  font-size: 17px;
  color: var(--muted);
}
.invite a {
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 16.5px;
  line-height: 1;
  letter-spacing: 0.005em;
  transition: background-color 120ms ease, color 120ms ease;
}
.invite a:hover, .invite a:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  outline: none;
}

/* colophon */
.colophon {
  max-width: 37rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.colophon span:last-child { font-variant-caps: all-small-caps; letter-spacing: 0.08em; }

/* small screens */
@media (max-width: 480px) {
  .page { padding-block: 3rem 2rem; }
  .prose p { font-size: 18px; line-height: 1.62; }
  .tag { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .invite a { transition: none; } }
