@import url('https://fonts.googleapis.com/css2?family=Slabo+13px&display=swap');

* { box-sizing: border-box; }
:root {
  --paper: #fff;
  --ink: #222321;
  --muted: #656762;
  --line: #e2e3df;
  font-family: "Slabo 13px", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.page { max-width: 1160px; padding: 40px 44px 60px; margin: auto; }
.masthead { height: 94px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 17px; font-weight: 700; letter-spacing: -.5px; }
.brand-dot { color: var(--muted); }
.masthead-label, .eyebrow { font-size: 11px; letter-spacing: .07em; }
.masthead-label { color: var(--muted); }
.intro { text-align: center; padding-top: 35px; }
.eyebrow { color: var(--muted); margin: 0 0 23px; text-transform: uppercase; }
.eyebrow span { padding: 0 10px; color: #a4a6a1; }
h1 { font-size: clamp(32px, 4vw, 51px); line-height: 1.22; letter-spacing: -.045em; font-weight: 500; max-width: 760px; margin: 0 auto 23px; text-wrap: balance; }
.author { font-size: 15px; margin: 0 0 22px; }
.summary { font-size: 16px; line-height: 1.7; max-width: 570px; margin: 0 auto; color: var(--muted); text-wrap: pretty; }
.resources { display: flex; justify-content: center; gap: 10px; margin-top: 27px; }
.resources a { border: 1px solid var(--line); padding: 11px 21px; font-size: 13px; }
.resources a:hover { background: #f7f7f5; }
.resources a:first-child { border-color: #9c9f99; font-weight: 600; }
.demo { max-width: 790px; margin: 52px auto 0; }
.demo img { display: block; width: 100%; height: auto; }
figcaption { display: flex; justify-content: flex-end; align-items: center; margin-top: 13px; color: var(--muted); font-size: 11px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 5px; }
button:hover { color: var(--ink); }
footer { margin-top: 70px; padding: 23px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: center; gap: 6px; color: var(--muted); font: 11px ui-monospace, monospace; }
.extra-section { border-top: 1px solid var(--line); padding: 24px 0; margin: 40px auto 0; max-width: 790px; line-height: 1.7; }
.extra-section h2 { font-size: 19px; font-weight: 500; }
.extra-section > a { display: inline-block; margin-right: 25px; text-decoration: underline; }
iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; margin-top: 20px; }

/* A / Quiet: project overview followed by independent research works. */
.intro { padding-top: 42px; }
h1 { max-width: 760px; }
.research { max-width: 790px; margin: 68px auto 0; border-top: 1px solid var(--line); padding-top: 28px; }
.research h2 { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 26px; }
.work + .work { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 28px; }
.work-label { font: 12px ui-monospace, monospace; color: var(--muted); margin: 0 0 10px; }
.work h3 { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.5; font-weight: 500; letter-spacing: -.045em; margin: 0 0 12px; text-wrap: balance; }
.work-meta { color: var(--muted); font-size: 14px; margin: 0; }
.work-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; font-size: 13px; color: var(--ink); }
.work-links a { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 800px) {
  .page { padding: 0 24px; }
  .masthead { height: 78px; }
  .intro { padding-top: 25px; }
  h1 { font-size: clamp(32px, 8vw, 39px); }
  .summary { font-size: 15px; }
  .demo { margin-top: 38px; }
  footer { margin-top: 38px; }
}
@media (max-width: 380px) {
  .brand { font-size: 15px; }
  h1 { font-size: 35px; }
}
