/* ==========================================================================
   NewLine Break — a note
   One column of text, set for reading. The home page's shell, type and
   footer carry over; this file holds only what a page of prose adds.
   ========================================================================== */

/* The header is the home page's bar without its menu: the mark on the left,
   one way to write to the studio on the right. */
.note__cta { margin-left: auto; }

.note {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) var(--pad-x) var(--band-y);
}

/* The measure: about seventy characters to a line. */
.note__body { max-width: 44rem; }

.note__meta {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog-dim);
  margin-bottom: 1.75rem;
}

.note .head__title {
  max-width: 22ch;
  margin-bottom: 2rem;
}

.note .lede { margin-bottom: 1rem; }

.note__body h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  font-variation-settings: 'wdth' 100, 'wght' 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 3.5rem 0 1.25rem;
}

.note__body h3 {
  font-size: 1.125rem;
  font-variation-settings: 'wdth' 100, 'wght' 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 2.25rem 0 0.6rem;
}

.note__body p {
  color: var(--fog);
  margin-bottom: 1.15rem;
}

.note__body p.lede { color: var(--text); }

/* A link in running text is underlined, in the ink of the text. Coral is
   kept for the break. */
.note__body p a,
.note__sources a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-lit);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

@media (hover: hover) {
  .note__body p a:hover,
  .note__sources a:hover {
    color: var(--signal-lit);
    text-decoration-color: var(--signal-lit);
  }
}

/* The three deadlines, as a ruled table of two columns. */
.note__clock {
  margin: 1.75rem 0 2rem;
  border-top: 1px solid var(--line);
}

.note__clock div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.note__clock dt {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding-top: 0.2em;
}

.note__clock dd { color: var(--fog); }

/* What the studio says about itself, set apart from the note, on the same
   measure. */
.note__end {
  max-width: 44rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.note__end p {
  color: var(--fog);
  margin-bottom: 1.15rem;
}

.note__end .btn { margin-top: 0.75rem; }

.note__sources { margin-top: 3.5rem; }

/* The small label the footer's columns carry, not a heading of the text. */
.note__body .note__sources h2 {
  font-size: 0.75rem;
  font-variation-settings: normal;
  letter-spacing: 0.2em;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.note__sources li {
  color: var(--fog);
  font-size: 0.9375rem;
  margin-bottom: 0.6rem;
}

/* The way back from a note to the list of them. */
.note__all { margin-top: 2.5rem; }

/* The contents page: one entry per note, a hairline between them. */
.note__list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.note__list li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.note__list .note__meta { margin-bottom: 0.5rem; }

.note__body .note__list h2 {
  margin: 0 0 0.5rem;
}

.note__list h2 a { color: var(--text); }

@media (hover: hover) {
  .note__list h2 a:hover { color: var(--signal-lit); }
}

.note__list p { color: var(--fog); }

@media (max-width: 820px) {
  .note__clock div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}
