/* Parcel to Plan(TM) product site. One stylesheet, no build step.
   Dark ground, plain sans-serif, large type, short pages. */

:root {
  --bg: #141414;
  --panel: #1b1b1b;
  --ink: #ececec;
  --muted: #b8b8b8;
  --faint: #7a7a7a;
  --rule: #2c2c2c;
  --accent: #dcb163;
  --sans: Helvetica, Arial, sans-serif;
  --measure: 34rem;
  --page: 62rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- header and nav --------------------------------------------------- */

.site-head {
  border-bottom: 1px solid var(--rule);
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

/* --- main flow -------------------------------------------------------- */

main {
  flex: 1;
  padding: 3.5rem 0 4.5rem;
}

section + section {
  margin-top: 4rem;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.005em;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.25rem;
  max-width: var(--measure);
  color: var(--muted);
}

.lede {
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 42rem;
}

.ink {
  color: var(--ink);
}

.note {
  font-size: 0.9375rem;
  color: var(--faint);
}

a {
  color: var(--accent);
}

ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  max-width: var(--measure);
  color: var(--muted);
}

li {
  margin-bottom: 0.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- size family table ------------------------------------------------ */

.table-scroll {
  overflow-x: auto;
  margin-bottom: 1rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 40rem;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

thead th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}

tbody th {
  font-weight: 600;
  color: var(--ink);
}

td {
  color: var(--muted);
}

/* --- sheet index ------------------------------------------------------ */

.sheet-index {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 42rem;
  columns: 2;
  column-gap: 2.5rem;
}

.sheet-index li {
  break-inside: avoid;
  display: flex;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.sheet-index .num {
  color: var(--faint);
  letter-spacing: 0.04em;
  flex: 0 0 3.5rem;
}

.sheet-index .name {
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 40rem) {
  .sheet-index {
    columns: 1;
  }
}

/* --- preview gallery -------------------------------------------------- */

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.75rem;
}

.gallery li {
  margin: 0;
}

.gallery a {
  display: block;
  border: 1px solid var(--rule);
  background: var(--panel);
  text-decoration: none;
}

.gallery a:hover {
  border-color: var(--faint);
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery figcaption,
.gallery .cap {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--faint);
  border-top: 1px solid var(--rule);
}

.gallery .cap .num {
  color: var(--muted);
}

/* --- call to action --------------------------------------------------- */

.cta {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: none;
  cursor: pointer;
}

.cta:hover {
  background: var(--accent);
  color: #141414;
}

/* --- panels ----------------------------------------------------------- */

.panel {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 1.5rem;
  max-width: 42rem;
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.disclaimer {
  color: var(--ink);
  font-size: 1rem;
}

/* --- footer ----------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--faint);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.site-foot a {
  color: var(--faint);
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--muted);
}
