:root {
  --bg: #f7f6f4;
  --ink: #141413;
  --muted: #6b645d;
  --rule: rgba(20, 20, 19, 0.16);
  --accent: #0b5fa5;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: underline 1px var(--rule);
  text-underline-offset: 0.22em;
}
a:hover, a:focus-visible { color: var(--accent); text-decoration-color: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 54rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header { display: flex; align-items: baseline; justify-content: space-between; padding-top: 1.75rem; }
.wordmark {
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  text-decoration: none;
}
.wordmark:hover { color: inherit; }
nav a { font-family: var(--sans); font-size: 0.875rem; text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent); }

main { flex: 1; padding: clamp(5rem, 22vh, 12rem) 0 4rem; }

.row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); column-gap: 2rem; align-items: baseline; }
.label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label .num { margin-right: 0.6em; color: var(--accent); }

.statement { max-width: 32em; font-size: 1.5rem; line-height: 1.5; text-wrap: pretty; }
.statement h1, .statement p { display: inline; font: inherit; }
.nowrap { white-space: nowrap; }

.text p { max-width: 32em; font-size: 1.375rem; line-height: 1.5; text-wrap: pretty; }
.text p + p { margin-top: 1rem; }

.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 0.55rem 1rem;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.9375rem;
}

.waterline { height: 0; margin: 3.5rem 0 2.25rem; border: 0; border-top: 1px solid var(--rule); }

.rows {
  display: grid;
  grid-template-columns: 7rem 1fr;
  align-items: baseline;
  row-gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
}
.rows dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fine, footer {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.text + .fine { margin-top: 1.75rem; }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0 2.5rem;
}

@media (max-width: 720px) {
  main { padding-top: clamp(3.5rem, 14vh, 6rem); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .label { margin-bottom: 0.9rem; }
  .statement { font-size: 1.3125rem; }
  .text p { font-size: 1.1875rem; }
  .waterline { margin: 2.5rem 0 1.75rem; }
  .rows { grid-template-columns: 5.5rem 1fr; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); }
}
