/* ------------------------------------------------------------------
   The quieter pages: the log, the account, the entrance, and what the
   site says about itself.
   ------------------------------------------------------------------ */

.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }
.band + .band { border-top: 1px solid var(--line); }

.band__head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.band__head .hud-label { display: block; margin-bottom: .8rem; }
.band__head h2 {
  font-family: var(--font-paper);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  color: var(--text-0);
  text-wrap: balance;
}
.band__head p {
  margin-top: .9rem;
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  color: var(--text-1);
  text-wrap: pretty;
}

.narrow { width: min(40rem, 100%); margin-inline: auto; }
.mid    { width: min(52rem, 100%); margin-inline: auto; }

/* The two-column shape used by the landing page's lower half. */
.duo {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- what this is */

.saying {
  font-family: var(--font-paper);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  color: var(--text-0);
  text-wrap: pretty;
}
.saying + .saying { margin-top: 1.1rem; }
.saying em { font-style: italic; color: var(--accent-pale); }

.prose { color: var(--text-1); font-size: 1.02rem; line-height: 1.72; }
.prose p + p { margin-top: 1.05em; }
.prose strong { color: var(--text-0); font-weight: 500; }
.prose em { font-style: italic; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-dark); }
.prose a:hover { border-color: var(--accent); }
.prose h3 {
  margin: 1.8em 0 .6em;
  font-family: var(--font-hud);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.prose blockquote {
  margin: 1.4em 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-dark);
  font-family: var(--font-paper);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text-0);
}

/* A short list of plain statements. No philosophy, no promises. */
.facts { display: flex; flex-direction: column; gap: .1rem; }

/* Across the top rather than down the side, with a rule above each so the
   pair reads as a header for everything below it. Stacks on a phone, in
   source order, which is already the order he wants. */
.facts--row {
  flex-direction: row;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  margin-bottom: clamp(1.75rem, 4.5vw, 3rem);
}
.facts--row .fact {
  flex: 1 1 0;
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .facts--row { flex-direction: column; gap: .1rem; }
  .facts--row .fact:first-child { border-bottom: 1px solid var(--line); }
}
.fact {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.fact:last-child { border-bottom: 0; }
.fact__n {
  font-family: var(--font-hud);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--accent);
  padding-top: .2rem;
}
.fact__b b { display: block; font-size: 1.02rem; font-weight: 500; color: var(--text-0); margin-bottom: .3rem; }
.fact__b span { font-size: .93rem; color: var(--text-1); }

/* ---------------------------------------------------------- the log */

.logroll { display: flex; flex-direction: column; }

.entry {
  display: block;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-state) var(--ease-out);
}
.entry:hover { background: linear-gradient(90deg, var(--accent-faint), transparent 60%); }
.entry__meta {
  display: flex;
  gap: .9rem;
  font-family: var(--font-hud);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: .5rem;
}
.entry h3 {
  font-family: var(--font-paper);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  color: var(--text-0);
  margin-bottom: .45rem;
  transition: color var(--t-state) var(--ease-out);
}
.entry:hover h3 { color: var(--accent-pale); }
.entry p { font-size: .98rem; color: var(--text-1); text-wrap: pretty; }

.empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 4px;
}
.empty p { color: var(--text-1); }
.empty .hud-label { display: block; margin-bottom: .7rem; }

.article__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-family: var(--font-hud);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.article__head h1 {
  font-family: var(--font-paper);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.1;
  color: var(--text-0);
  text-wrap: balance;
}

.pager { display: flex; gap: .6rem; justify-content: center; margin-top: 2rem; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-hud);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--t-state) var(--ease-out), gap var(--t-state) var(--ease-out);
}
.backlink:hover { color: var(--accent); gap: .7rem; }

/* ---------------------------------------------------------- the account */

.acct { display: grid; grid-template-columns: minmax(0, 17rem) 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 820px) { .acct { grid-template-columns: 1fr; } }

.whoami { display: flex; flex-direction: column; gap: .9rem; }
.whoami__name {
  font-family: var(--font-paper);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-0);
  word-break: break-word;
}
.whoami__since { font-family: var(--font-hud); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: flex-start;
  padding: .3rem .6rem;
  font-family: var(--font-hud);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 2px;
  background: var(--accent-faint);
}
.badge--plain { color: var(--accent); border-color: var(--accent-dark); background: transparent; }

/* The reader's own shelf. Empty for now, and honest about why. */
.myshelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(.45rem, 1.4vw, 1rem);
  min-height: 10rem;
  padding: 1.75rem 1.25rem 0;
}
.myshelf__deck {
  position: absolute;
  left: 50%; bottom: 0;
  width: min(32rem, 94%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
}
.slot {
  width: clamp(1.7rem, 4.4vw, 2.5rem);
  height: clamp(5.5rem, 13vw, 8rem);
  border: 1px dashed rgba(159, 179, 173, 0.22);
  border-radius: 2px 3px 3px 2px;
  background: linear-gradient(180deg, rgba(37, 234, 181, 0.035), transparent);
}
.slot__k {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-hud);
  font-size: .54rem;
  letter-spacing: .14em;
  text-align: center;
  color: var(--text-2);
}
.myshelf__say {
  margin-top: 1.4rem;
  text-align: center;
  font-size: .95rem;
  color: var(--text-1);
}

/* ---------------------------------------------------------- the 404 */
/* Super Stitious gets the error page. It is the only place on the site where
   being completely wrong is the correct outcome. */

.lost { text-align: center; padding-block: clamp(3rem, 10vw, 7rem); }
.lost__n {
  font-family: var(--font-paper);
  font-size: clamp(5rem, 20vw, 12rem);
  line-height: .85;
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow);
}
.lost__n em { font-style: normal; color: var(--text-2); }
.lost h1 {
  margin-top: 1rem;
  font-family: var(--font-paper);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  color: var(--text-0);
}
.lost p { margin: 1rem auto 1.8rem; max-width: 34rem; color: var(--text-1); }

/* ---------------------------------------------------------- the installer */

.steps { display: flex; flex-direction: column; gap: .5rem; margin-block: 1.25rem; }
.step {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: .8rem;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: .93rem;
}
.step--ok   { border-color: var(--accent-dark); background: var(--accent-faint); }
.step--bad  { border-color: var(--danger); background: rgba(255, 107, 94, .07); }
.step__i { font-family: var(--font-hud); font-size: .9rem; line-height: 1.5; }
.step--ok  .step__i { color: var(--accent); }
.step--bad .step__i { color: var(--danger); }
.step b { color: var(--text-0); font-weight: 500; }
.step span { display: block; color: var(--text-1); font-size: .87rem; margin-top: .15rem; }
.step code {
  font-family: var(--font-hud);
  font-size: .85em;
  color: var(--accent-pale);
  background: rgba(4, 7, 10, .6);
  padding: .1em .35em;
  border-radius: 2px;
}
