@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* paper and ink: a faintly warm paper, light stone for the quiet bands,
     and a near-neutral black; navy stays the one strong colour */
  --paper: #faf8f4;
  --paper-2: #efebe4;
  --ink: #14181f;
  --ink-2: #43464c;
  --ink-3: #63656b;
  --rule: #ddd8cf;
  --rule-strong: #14181f;
  /* the navy band, for the register */
  --navy: #0e1c30;
  --on-navy: #f3f5f8;
  --on-navy-2: #aab5c5;
  --rule-navy: rgb(243 245 248 / 0.18);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic", "Helvetica Neue", Arial, sans-serif;

  --page: 88rem;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --measure: 64ch;
  --step: clamp(5rem, 11vw, 9rem);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--navy);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
/* German and Polish compounds need it in running text; headings never */
:is(:lang(de), :lang(pl)) :is(p, li, td) {
  hyphens: auto;
}
html :is(h1, h2, h3, .lede, .status, .register th) {
  hyphens: manual;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 160ms ease-out;
}
a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip:focus {
  top: 0.75rem;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* a band runs edge to edge while its content keeps the page measure */
.bleed {
  background: var(--bg);
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax);
}

/* ---------- masthead and opening: one navy field ---------- */

.masthead {
  --bg: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.6rem var(--gutter);
  color: var(--on-navy);
  position: relative;
}
/* the rule under the masthead runs edge to edge, like the bands */
.masthead::after {
  content: "";
  position: absolute;
  left: -100vmax;
  right: -100vmax;
  bottom: 0;
  border-bottom: 1px solid var(--rule-navy);
}
.wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.lang {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.lang a {
  display: inline-block;
  padding: 0.4rem 0.5rem;
  color: var(--on-navy-2);
  text-decoration: none;
}
.lang a:hover {
  color: var(--on-navy);
}
.lang a[aria-current="page"] {
  color: var(--on-navy);
  box-shadow: inset 0 -1px 0 var(--on-navy);
}

.opening {
  --bg: var(--navy);
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 7rem) var(--gutter) clamp(2.5rem, 5vh, 4rem);
  min-height: min(calc(100svh - 5.4rem), 52rem);
  display: grid;
  align-content: center;
  gap: clamp(2.5rem, 6vh, 5rem) 4rem;
  color: var(--on-navy);
}
@media (min-width: 64rem) {
  .opening {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
  .opening .brief dl {
    grid-template-columns: 1fr;
  }
}
.opening ::selection,
.band ::selection,
.colophon ::selection {
  background: var(--on-navy);
  color: var(--navy);
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, min(1.2rem + 6.4vw, 10.5vh), 7.25rem);
  line-height: 1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.opening .lede {
  margin: clamp(1.5rem, 3.5vh, 2.75rem) 0 0;
  max-width: 40rem;
  color: var(--on-navy);
}
.status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}
.status::before {
  content: "";
  width: 2.5rem;
  border-top: 1px solid var(--on-navy);
}

/* the register in brief, across the foot of the opening: the proof in the first view */
.brief {
  margin: 0;
}
.brief h2 {
  max-width: none;
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}
.brief dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0 2rem;
}
.brief div {
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--on-navy);
}
.brief dt {
  font-size: 0.875rem;
  color: var(--on-navy-2);
}
.brief dd {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.3;
}
.brief .more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration-color: var(--on-navy-2);
}
.brief .more svg {
  width: 0.85em;
  height: 0.85em;
  transition: translate 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.brief .more:hover svg {
  translate: 0 0.15em;
}

/* ---------- sections: white, pale and navy bands in turn ---------- */

main > section {
  --bg: var(--paper);
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--step) var(--gutter);
}
main > section.pale {
  --bg: var(--paper-2);
}

h2 {
  margin: 0 0 clamp(1.75rem, 3vw, 2.75rem);
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 1.5rem + 3vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.text > :first-child {
  margin-top: 0;
}
.text > p {
  max-width: var(--measure);
}
.text p,
.text li {
  text-wrap: pretty;
}
.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  line-height: 1.35;
  margin-bottom: 1.5em;
}
.text > .lede {
  max-width: 44rem;
}
strong {
  font-weight: 600;
}
.aside {
  color: var(--ink-3);
}

/* points read across, not down */
.points {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2.75rem 2.5rem;
}
.points > li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-strong);
}
.points h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
}
.points p {
  margin: 0;
  color: var(--ink-2);
}
.points p + p {
  margin-top: 0.6em;
}

sup a {
  font-size: 0.72em;
  padding: 0 0.12em;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-3);
}

/* why the office: two columns of plain reasoning */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 0 3.5rem;
}
.columns p {
  margin-top: 0;
}

/* what is in the box */
.inventory {
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem 2.5rem;
}
.inventory li {
  padding-top: 1rem;
  border-top: 1px solid var(--rule-strong);
}
.inventory b {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
}
.inventory span {
  color: var(--ink-2);
}

/* ---------- the register, on the navy band ---------- */

main > section.band {
  --bg: var(--navy);
  color: var(--on-navy);
}
.band .aside {
  color: var(--on-navy-2);
}
.band a {
  text-decoration-color: var(--rule-navy);
}

.register-wrap {
  margin-top: 2.5rem;
}
.register {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97em;
  line-height: 1.5;
}
.register th,
.register td {
  text-align: left;
  vertical-align: top;
  padding: 1.3rem 1.5rem 1.4rem 0;
}
.register thead th {
  padding-top: 0;
  padding-bottom: 0.85rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-navy-2);
  border-bottom: 1px solid var(--on-navy);
}
.register tbody tr {
  border-bottom: 1px solid var(--rule-navy);
}
.register tbody th {
  width: 18%;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1.3;
}
.register tbody th small {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: 0.6em;
  line-height: 1.45;
  color: var(--on-navy-2);
}
.register td {
  width: 20.5%;
}
.register td.limit {
  color: var(--on-navy-2);
}
.register td.reader strong {
  font-weight: 600;
}

@media (max-width: 63.99rem) {
  .register thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .register,
  .register tbody,
  .register tr,
  .register th,
  .register td {
    display: block;
    width: auto;
  }
  .register tbody tr {
    padding: 1.4rem 0 0.7rem;
  }
  .register tbody th,
  .register td {
    width: auto;
  }
  .register tbody th {
    padding: 0 0 0.6rem;
  }
  .register td {
    padding: 0.5rem 0;
  }
  .register td::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-navy-2);
  }
}

.never {
  margin-top: 4rem;
  display: grid;
  gap: 1.25rem 4rem;
}
@media (min-width: 64rem) {
  .never {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}
.never h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  line-height: 1.15;
}
.never ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 18rem;
  column-gap: 3rem;
}
.never li {
  break-inside: avoid;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule-navy);
}
.never p {
  grid-column: -2 / -1;
  margin: 1rem 0 0;
  max-width: 40rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem);
  line-height: 1.35;
}

/* ---------- close: navy again ---------- */

.colophon {
  --bg: var(--navy);
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 4rem;
  display: grid;
  gap: 2.5rem 4rem;
  font-size: 0.875rem;
  color: var(--on-navy-2);
}
@media (min-width: 64rem) {
  .colophon {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}
.colophon .wordmark {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--on-navy);
}
.colophon p {
  margin: 0 0 0.5rem;
  max-width: var(--measure);
}
.colophon h2 {
  max-width: none;
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.colophon a {
  text-decoration-color: var(--rule-navy);
}
.colophon a:hover {
  color: var(--on-navy);
  text-decoration-color: currentColor;
}
.notes {
  font-variant-numeric: lining-nums tabular-nums;
  margin: 0;
  padding-left: 1.4rem;
}
.notes li {
  padding: 0.2rem 0;
}
.notes li:target {
  color: var(--on-navy);
}
.notes li::marker {
  font-feature-settings: "tnum";
}
.notes .back {
  margin-left: 0.55em;
  padding-left: 0.6em;
  border-left: 1px solid var(--rule-navy);
  text-decoration: none;
}

/* five points sit better as three and two than four and one */
#run .points {
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}


@media print {
  .lang,
  .skip,
  .brief .more {
    display: none;
  }
  .bleed {
    --bg: #fff !important;
    color: var(--ink) !important;
    box-shadow: none;
    --on-navy: var(--ink);
    --on-navy-2: var(--ink-3);
    --rule-navy: var(--rule);
  }
  .opening {
    min-height: 0;
  }
}
