.composer {
  min-height: calc(100vh - 188px);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.composer-kicker {
  color: var(--red);
  font: 11px var(--mono);
  letter-spacing: .16em;
  margin-bottom: 22px;
}

.composer-title {
  min-height: 1.15em;
  color: var(--text);
  font: 600 clamp(42px, 5.5vw, 72px)/.96 var(--sans);
  letter-spacing: -.07em;
  outline: none;
}

.composer-lede {
  min-height: 1.55em;
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  outline: none;
}

.composer-body {
  min-height: 48vh;
  margin-top: 42px;
  padding: 29px 0;
  border-top: 1px solid var(--line);
  color: #d6d1ca;
  font: 18px/1.85 Georgia, serif;
  outline: none;
}

.composer-title:empty::before,
.composer-lede:empty::before,
.composer-body:empty::before {
  content: attr(data-placeholder);
  color: #5d5752;
}

.composer-body:focus { border-top-color: #6f3028; }

.composer-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: linear-gradient(90deg, #0b0b0b 85%, transparent);
}

.composer-cover {
  width: min(280px, 100%);
  padding: 10px 12px;
  color: var(--text);
  background: #0d0d0d;
  border: 1px solid var(--line);
  outline: none;
}

.composer-cover:focus { border-color: var(--red); }
.composer-actions { display: flex; flex-wrap: nowrap; gap: 9px; }
.composer-actions .btn { white-space: nowrap; }

@media (max-width: 650px) {
  .composer-body { min-height: 42vh; }
  .composer-footer { display: flex; align-items: stretch; flex-direction: column; }
  .composer-cover { width: 100%; }
  .composer-actions { justify-content: flex-end; flex-wrap: wrap; }
}
