/* The front door's last band (R100, R101): what you can do, in one compact row with the way to the
 * rules, and the Discord, which says when each floor opens. `door.css` is the frame and
 * `door_pilot.css` the pilot above. A phone reads each as one column; from 1024 they stand side by
 * side, never longer lines. */

.door-more-row {
  margin: var(--space-4) 0 0;
}

.door-more {
  display: inline-block;
  padding-block: var(--tap-lift);
  margin-block: calc(-1 * var(--tap-lift));
  font-size: var(--text-16);
  color: var(--parchment);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.25em;
}

.door-more:hover,
.door-more:focus-visible {
  text-decoration-color: var(--parchment);
}

.door-more:active {
  color: var(--parchment-dim);
}

.door-band {
  display: grid;
  gap: var(--section-gap);
  align-items: start;
  padding-top: var(--section-gap);
  border-top: 1px solid var(--rule);
}

.band-do,
.band-join {
  align-content: start;
  min-width: 0;
}

.band-do .door-head,
.band-join .door-head {
  margin: 0 0 var(--space-3);
}

.band-join {
  gap: var(--space-4);
}

/* One item treatment and one body size for the band: a rule over each row, an optional head, the
 * prose at the page's size. The sentence that heads the Discord's column is the same row, a step
 * brighter. */
.door-rows {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.door-row {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 2px solid var(--rule-strong);
}

.door-row-head {
  margin: 0 0 var(--space-2);
  font-family: var(--font-prose);
  font-size: var(--text-lead);
  font-weight: 600;
  line-height: 1.12;
  color: var(--parchment);
}

.door-row-text {
  margin: 0;
  max-inline-size: var(--measure);
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
  color: var(--parchment-dim);
}

.door-row-lead .door-row-text {
  color: var(--parchment);
}

.band-do .door-intro {
  margin-bottom: var(--space-4);
}

.door-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-4);
  border-top: 1px solid var(--rule);
  font-size: var(--text-16);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* The show's profile off the site, a small mark at the foot's end (the owner, 2026-10-23): a 20 px
 * butterfly in a 44 px target, in the foot's dim ink until a hand is on it, its glyph flush with the
 * frame's edge. */
.door-social {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  margin: calc(-1 * var(--space-2)) -0.75rem calc(-1 * var(--space-2)) 0;
  color: var(--parchment-dim);
  transition: color var(--duration-fast) var(--ease-out);
}

.door-social:hover,
.door-social:focus-visible {
  color: var(--parchment);
}

.door-social:focus-visible {
  outline: 2px solid var(--parchment);
  outline-offset: -2px;
}

.door-social-mark {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

/* --- from 640: the verbs in one row ---------------------------------------------------------- */

@media (min-width: 40em) {
  .band-do .door-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--space-5);
  }
}

/* --- from 1024: what you can do and the Discord side by side ------------------------------------ */

@media (min-width: 64em) {
  html.has-discord .door-band {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    column-gap: var(--page-gap);
  }

  .band-do .door-row-text {
    font-size: var(--text-16);
    line-height: 1.5;
  }
}
