:root {
  --ivory: #F4F1E9;
  --ink: #20201E;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--ink);
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.45;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-thickness: 2px; }

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
  border-bottom: 2px solid var(--ink);
}

.mast .brand img {
  display: block;
  height: 64px;
  width: auto;
}

.mast nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mast nav a { text-decoration: none; }
.mast nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.kicker {
  margin: 28px 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 400;
}

h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 400;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.lede {
  max-width: 40em;
  margin: 0 0 28px;
}

.plate {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  margin: 24px 0 32px;
}

.plate > div {
  padding: 18px 20px;
}

.plate > div + div { border-left: 1px solid var(--ink); }

.plate .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.plate .big {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.95;
}

.plate .note {
  margin-top: 8px;
  font-size: 15px;
}

.scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  margin: 0 0 28px;
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 40px;
}

.door {
  display: block;
  border: 1px solid var(--ink);
  padding: 18px 18px 16px;
  text-decoration: none;
}

.door strong {
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.door span { font-size: 16px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--ink);
}

th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.tools input, .tools button {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--ink);
  padding: 7px 10px;
}

.tools button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ivory);
}

.quote {
  margin: 0 0 16px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--ink);
  max-width: 42em;
}

.sources {
  font-size: 15px;
}

.sources li { margin-bottom: 6px; }

.foot {
  margin: 48px auto 28px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  max-width: 1080px;
  width: min(1080px, calc(100% - 40px));
}

.muted { font-size: 15px; max-width: 42em; }

@media (max-width: 720px) {
  .mast { flex-direction: column; align-items: flex-start; }
  .plate, .doors { grid-template-columns: 1fr; }
  .plate > div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .mast .brand img { height: 52px; }
}
