/* Notes: the list of posts at /notes/. Tokens, header, footer and the theme toggle come
   from report.css; the title borrows the landing page's wide uppercase Archivo and its
   orange square, at about the size of a post's title. */
.shell.notes{max-width:66rem;padding-top:3rem}
.notes-head{margin:0 0 2.5rem}
.notes-head h1{font-size:clamp(1.9rem,1.5rem + 1.6vw,2.6rem);font-weight:700;font-stretch:125%;line-height:1;letter-spacing:0;text-transform:uppercase}
.notes-head p{display:flex;align-items:center;gap:14px;max-width:44rem;margin:.9rem 0 0;font-size:clamp(1rem,.95rem + .25vw,1.15rem);line-height:1.45;color:var(--ink)}
.notes-head p::before{content:'';flex:none;width:9px;height:9px;background:var(--signal)}

.label{margin:0 0 .9rem;font:11px/1.6 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}

/* Featured post: one bordered card, the whole of it a link */
.feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);border:1px solid var(--line);color:inherit;text-decoration:none;transition:border-color .15s ease}
.feature:hover{border-color:var(--muted)}
.feature-art{display:flex;align-items:center;border-right:1px solid var(--line);background:#F3F0E9}
.feature-art img{display:block;width:100%;height:auto}
.feature-body{display:flex;flex-direction:column;min-width:0;padding:1.9rem 1.9rem 1.6rem}
.feature-title{margin:0;padding:0;border:0;font-size:clamp(1.55rem,1.15rem + 1.5vw,2.25rem);font-weight:650;font-stretch:112%;line-height:1.1;letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
.feature-sub{margin:.8rem 0 0;font-size:1.1rem;line-height:1.45;color:var(--soft);text-wrap:balance}
.feature-meta{margin:1.1rem 0 1.6rem;font:11px/1.6 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.feature-more{margin:auto 0 0;font:12px/1.6 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.feature-more span{display:inline-block;margin-left:.35rem;transition:transform .15s ease}
.feature:hover .feature-more{color:var(--link-line)}
.feature:hover .feature-more span{transform:translateX(3px)}
@media (max-width:820px){
  .feature{grid-template-columns:minmax(0,1fr)}
  .feature-art{border-right:0;border-bottom:1px solid var(--line)}
  .feature-body{padding:1.4rem 1.25rem 1.3rem}
}

/* Further posts and, on staging, drafts */
.more-posts{margin-top:3.5rem}
.post-list{margin:0;padding:0;border-top:1px solid var(--line);list-style:none}
.post-list li{margin:0;padding:0;border-bottom:1px solid var(--line)}
.post-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.2rem 1.5rem;padding:1.05rem 0;color:inherit;text-decoration:none}
.post-list .t{font-size:1.15rem;font-weight:600;line-height:1.3;color:var(--ink)}
.post-list .d{grid-column:1;font-size:15px;line-height:1.45;color:var(--muted)}
.post-list .tag{grid-column:2;grid-row:1 / span 2;padding:.15rem .5rem;border:1px solid var(--line);font:11px/1.6 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.post-list a:hover .t{text-decoration:underline;text-decoration-color:var(--signal);text-decoration-thickness:1px;text-underline-offset:.2em}
.staging-note{max-width:44rem;margin:.9rem 0 0;font:13.5px/1.5 var(--sans);color:var(--muted)}

/* Match the light homepage's signup without applying its page layout to Notes. */
.notes-signup {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 520px);
  margin: 3.5rem 0 0;
  line-height: normal;
  --signup-muted: #5A5F66;
}
.notes-signup label {
  flex: none;
  font-family: var(--mono);
  font-size: clamp(10.5px, 0.8vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signup-muted);
}
.notes-signup .field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(22, 25, 30, 0.5);
  border-radius: 3px;
  overflow: hidden;
  background: #F9F7F2;
  transition: border-color 0.15s ease;
}
.notes-signup .field:focus-within { border-color: var(--ink); }
.notes-signup .field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1.2 var(--sans);
  font-stretch: 100%;
  outline: none;
}
.notes-signup .field input::placeholder { color: #5E636B; }
.notes-signup .field button {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: #8A5412;
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.notes-signup .field button:hover, .notes-signup .field button:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: none;
}
.notes-signup .field button:disabled { opacity: 0.5; cursor: default; }
.notes-signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notes-signup .msg {
  position: absolute;
  right: 0;
  bottom: calc(100% + 4px);
  margin: 0;
  font: 11.5px/1.2 var(--mono);
  letter-spacing: 0.06em;
  color: var(--signup-muted);
}
.notes-signup .msg.err { color: #A4452A; }
.notes-signup.done label, .notes-signup.done .field { display: none; }
.notes-signup.done { justify-content: flex-end; }
.notes-signup.done .msg {
  position: static;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
}
@media (max-width: 760px) {
  .notes-signup { flex-direction: column; align-items: stretch; gap: 8px; }
  .notes-signup .msg:not(:empty) { position: static; }
  .notes-signup.done { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .notes-signup .field input { padding-left: 12px; padding-right: 8px; }
  .notes-signup .field button { padding: 0 12px; gap: 8px; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
  .notes-signup .field, .notes-signup .field button { transition: none; }
}

.site-footer{flex-wrap:wrap;row-gap:0}
@media (max-width:560px){
  .shell.notes{padding-top:2rem}
  .notes-head{margin-bottom:2rem}
  .post-list a{gap:.2rem .8rem}
}
@media (prefers-reduced-motion:reduce){.feature,.feature-more span{transition:none}}
