/* Claudeism — layered on /style.css */

.cl-head {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding: clamp(2.5rem, 8vw, 5rem) var(--gutter) clamp(1rem, 3vw, 2rem);
}

.cl-back { margin: 0 0 2.25rem; font-size: 0.9rem; }
.cl-back a::before { content: "\2190\00a0"; }

.cl-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.cl-head h1 {
  font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4rem);
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------- commandments ---------- */

.cl-commandments {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: cmd;
}

.cl-commandments li {
  counter-increment: cmd;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.cl-commandments li:last-child { border-bottom: 1px solid var(--rule); }

.cl-commandments li::before {
  content: counter(cmd, upper-roman);
  grid-row: 1 / span 2;
  padding-top: 0.15rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}

.cl-commandments strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-weight: 580;
  font-size: 1.12em;
  line-height: 1.3;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}

/* ---------- creed ---------- */

.cl-creed {
  padding: 0.25rem 0 0.25rem clamp(1rem, 4vw, 1.75rem);
  border-left: 2px solid var(--accent);
}

.cl-creed p {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.4;
  font-variation-settings: "opsz" 48, "SOFT" 30, "WONK" 0;
}

.cl-creed p:last-child {
  margin: 1rem 0 0;
  font-weight: 560;
}

/* ---------- daily practice ---------- */

.cl-practice { margin: 0; }

.cl-practice > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}

.cl-practice > div:last-child { border-bottom: 1px solid var(--rule); }

.cl-practice dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.cl-practice dd { margin: 0; }

@media (min-width: 640px) {
  .cl-practice > div { grid-template-columns: 9.5rem 1fr; gap: 1rem; }
  .cl-practice dt { padding-top: 0.3rem; }
}

/* ---------- liturgy ---------- */

.cl-liturgy {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.cl-liturgy li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 2.25rem;
}

/* the thread connecting the steps */
.cl-liturgy li::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 1.6rem;
  bottom: 0.1rem;
  width: 1px;
  background: var(--rule);
}

.cl-liturgy li:last-child::after { display: none; }

.cl-liturgy li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.15rem;
  text-align: center;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.cl-liturgy li:last-child::before {
  background: var(--accent);
  color: var(--ground);
}

.cl-liturgy span {
  display: block;
  font-family: var(--display);
  font-weight: 580;
  font-size: 1.08em;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}

/* ---------- footer ---------- */

.cl footer { padding-top: 3rem; }

.cl-note {
  margin: 0 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
}
