/* contemporary–austere: lots of white space, smaller type, tight measure */

:root {
  --measure: 60ch;           /* comfortable line length */
  --page-pad: 1.25rem;       /* side padding on small screens */
  --hairline: #e9e9e9;
  --ink: #0e0e0e;
  --muted: #727272;
}

* { box-sizing: border-box; }

html {
  font-size: 15px;           /* smaller base as requested */
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--measure);
  margin: 18vh auto 22vh;    /* generous top/bottom whitespace */
  padding: 0 var(--page-pad);
}

h1 {
  margin: 0 0 2.25rem 0;
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);  /* modest, responsive */
  letter-spacing: 0.02em;
  text-align: center;
  text-wrap: balance;
}

article {
  hyphens: auto;             /* tidy rag on supported browsers */
}

article p {
  margin: 0;                 /* collapse default margins */
}

article p + p {
  margin-top: 1.1rem;        /* controlled rhythm between paragraphs */
}

/* unobtrusive brand footer */
footer.brand {
  max-width: var(--measure);
  margin: 12vh auto 10vh;
  padding: 0 var(--page-pad);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  position: relative;
}

footer.brand::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--hairline);
  margin: 0 0 1rem 0;
}

/* slightly tighter layout on very small screens */
@media (max-width: 360px) {
  html { font-size: 14px; }
}

/* give large screens even more breathing room */
@media (min-width: 1200px) {
  main { margin: 20vh auto 26vh; }
  footer.brand { margin: 14vh auto 12vh; }
}
