/* The single page shown while the new site is built. It keeps the brand of the
   full site (paper, ink, terracotta, Paper Mono) and fits one screen on a laptop. */
@font-face {
  font-family: 'Paper Mono';
  src: url('assets/fonts/PaperMono-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  --paper: #f6f3eb;
  --ink: #20322d;
  --body: #45554e;
  --accent: #9d4a31;
  --rule: #c5b5a4;
  --font: 'Paper Mono', ui-monospace, Menlo, monospace;
  --gutter: 56px;
  --bar: 96px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; }
::selection { background: #e5c6a9; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1, p, figure { margin: 0; }
.container { width: min(calc(100% - 2 * var(--gutter)), 1440px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top, .bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--bar); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 29px; line-height: 1.1; letter-spacing: -.045em; }
.wordmark img { display: block; width: 40px; height: 40px; }
.wordmark span { padding-top: 2px; }
.quiet, .bottom p { font-size: 14px; line-height: 1.5; color: var(--body); }
.quiet span { margin-left: 8px; }
.bottom { min-height: 80px; }

.stage { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 5.2vw, 88px); padding-block: 16px; }
/* The painting is square, so its width is capped by the height left between the two bars. */
.painting { width: min(52vw, calc(100svh - var(--bar) - 80px - 48px)); min-width: 280px; }
.painting img { display: block; width: 100%; height: auto; }
.words { max-width: 560px; }
h1 { font-size: clamp(34px, 3.5vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -.052em; text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; letter-spacing: -.03em; color: var(--accent); }
.note { margin-top: 40px; font-size: 15px; line-height: 1.6; color: var(--body); }
.text-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 20px; font-size: 15px; line-height: 1.6; padding-bottom: 7px; border-bottom: 1px solid var(--ink); }
.text-link:hover { border-color: var(--accent); }
.lead + .text-link { margin-top: 36px; }
.stage-plain { grid-template-columns: 1fr; }
.stage-plain .note { margin-top: 24px; }

@media (max-width: 860px) {
  :root { --gutter: 22px; --bar: 76px; }
  .wordmark { font-size: 26px; gap: 10px; }
  .wordmark img { width: 36px; height: 36px; }
  .stage { grid-template-columns: 1fr; align-content: start; gap: 30px; padding-block: 8px 40px; }
  .painting { justify-self: stretch; width: 100%; min-width: 0; }
  .note { margin-top: 28px; }
  .bottom { flex-wrap: wrap; gap: 6px 24px; padding-block: 22px; border-top: 1px solid var(--rule); }
  .stage-plain { align-content: center; }
}
