/* POST — "The Reading Wall" (unique skeleton)
   A single calm reading column with a LIVE FUNCTIONAL LEFT MARGIN:
   progress-thread gutter + floated margin pull-thoughts +
   hanging-wire title→image + mid-article breath pause + single next-row. */

.article { padding-top: clamp(6.5rem, 16vh, 9rem); }

/* ---- Article head : meta · oversized left-pushed title · wire · lead ---- */
.art-head { position: relative; }
.art-head__meta { flex-wrap: wrap; gap: .55rem .7rem; }
.art-head__sep { color: var(--pencil-soft); }
.art-head__date { font-weight: 700; letter-spacing: .12em; }

.art-head__title {
  margin-top: 1.1rem;
  max-width: 15ch;
  line-height: 1.0;
  letter-spacing: -.012em;
}
.art-head__title em { color: var(--mauve); display: inline-block; }

/* the hanging wire: a 1px gold vertical rule from title down to the image */
.wire {
  display: block;
  width: 1px;
  height: clamp(2.2rem, 6vw, 3.4rem);
  margin: .4rem 0 0 clamp(.5rem, 4vw, 2rem);
  background: linear-gradient(var(--gold), rgba(200,162,107,.25));
  position: relative;
}
.wire::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.art-lead { margin-top: 0; max-width: 100%; }

/* ---- Reading column : the live left margin ---- */
.reading { margin-top: clamp(2.4rem, 6vw, 3.6rem); }

/* the gutter thread on .sheet--gold is the track; we lay the
   reading-progress bar over it, filled with Living Gold, scaled by app.js */
.reading::before { background: var(--hair); }   /* quiet track under the fill */
.reading__progress {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--thread-x);
  width: 2px;
  margin-left: -.5px;
  background: linear-gradient(var(--gold), var(--gold));
  transform-origin: top center;
  transform: scaleY(0);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}

.reading__col { max-width: 43rem; }
.reading__col p { margin-top: 1.15rem; }
.reading__col p:first-child { margin-top: 0; }

/* 3-line heirloom-mauve drop cap */
.reading__col .drop::first-letter {
  font-family: var(--display);
  font-size: 3.4em;
  line-height: .78;
  float: left;
  padding: .04em .12em 0 0;
  color: var(--mauve);
  font-weight: 500;
}

.art-h { margin-top: 2.4rem; color: var(--plum); }
.art-h + p { margin-top: .8rem; }

.art-sig {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--mauve);
  line-height: 1.4;
}

/* ---- Margin pull-thoughts ---- */
/* Mobile-first: inline, indented aside set apart by a gold rule. */
.pull {
  margin: 1.8rem 0 1.8rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--mauve-deep);
  font-size: 1.18rem;
  line-height: 1.45;
  position: relative;
  max-width: 34ch;
}
.pull--right { margin-left: auto; }
.pull__mark {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.6em;
  line-height: 0;
  margin-right: .12em;
  vertical-align: -.35em;
}

/* ---- PAUSE HERE : breath interlude ---- */
.pause {
  margin: 2.8rem 0;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.pause__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  animation: breathe 9s var(--ease) infinite;
}
.pause__line {
  font-size: 1.25rem;
  color: var(--mauve-deep);
  max-width: 24ch;
  line-height: 1.4;
}

/* ---- Dark room : author micro-bio + single next row ---- */
.post-room { margin-top: clamp(3rem, 8vw, 5rem); padding-block: clamp(3rem, 8vw, 5.5rem); }
.post-room__inner { display: grid; gap: clamp(2.4rem, 6vw, 3.6rem); }

.post-bio { display: grid; gap: 1.4rem; align-items: center; }
.post-bio__art { width: min(46%, 150px); }
.post-bio__txt .plaque { color: var(--gold); }
.post-bio__name { font-size: clamp(1.8rem, 6vw, 2.4rem); margin: .5rem 0 .8rem; }
.post-bio__txt .lead { max-width: 46ch; margin-bottom: 1.1rem; }

.post-next { border-top: 1px solid rgba(245,239,234,.16); padding-top: 1.6rem; }
.post-next__label { color: var(--gold); display: block; margin-bottom: .3rem; }
.post-next .idx__row { border-color: rgba(245,239,234,.2); }
.post-next .idx__title { color: var(--porcelain); }
.post-next .idx__head:hover .idx__title { color: var(--clay); }
.post-next .plaque { color: var(--pencil-soft); }
.post-next .idx__head:hover .idx__chev { transform: translateX(4px); }

/* ---- Desktop : pull-thoughts float into the right margin ---- */
@media (min-width: 1024px) {
  .pull {
    position: relative;
    float: right; clear: right;
    width: 13rem;
    margin: .3rem -14rem 1.2rem 2.4rem;
    padding: 0; border: 0;
    font-size: 1.1rem; line-height: 1.42;
    color: var(--mauve-deep);
    text-align: left;
  }
  .pull::before {
    content: "";
    position: absolute;
    top: .4rem; left: -2rem;
    width: 1.6rem; height: 1px;
    background: var(--gold);
  }
  .pull > .pull__mark { display: block; margin-bottom: .2rem; vertical-align: baseline; }
}

/* ---- Desktop : center the article, widen content & lead ---- */
@media (min-width: 760px) {
  .article { max-width: 60rem; margin-inline: auto; }
  .art-head__title { font-size: clamp(3.4rem, 7vw, 4.8rem); }
  .art-lead { max-width: none; }

  .post-bio { grid-template-columns: auto 1fr; gap: clamp(1.8rem, 4vw, 2.8rem); }
  .post-bio__art { width: 170px; }
}

/* ---- Real post content (rendered by WordPress) ---- */
/* 3-line mauve drop cap on the first paragraph of the article body */
.reading__col .wp-block-post-content > p:first-of-type::first-letter {
  font-family: var(--display); font-size: 3.4em; line-height: .78; float: left;
  padding: .04em .12em 0 0; color: var(--mauve); font-weight: 500;
}
.reading__col .wp-block-post-content > h2 { font-family: var(--display); margin-top: 2.4rem; }
.reading__col .wp-block-post-content > p { margin-top: 1.15rem; }
.reading__col .wp-block-post-content > ul,
.reading__col .wp-block-post-content > ol { margin-top: 1.15rem; padding-left: 1.3rem; }
.reading__col .wp-block-post-content > ul li + li,
.reading__col .wp-block-post-content > ol li + li { margin-top: .4rem; }
/* gradient pull-quote, echoing the mockup */
.reading__col .wp-block-quote {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem,1.1rem+1.2vw,1.9rem); line-height: 1.32; color: var(--mauve-deep);
  background: linear-gradient(120deg, color-mix(in srgb, var(--mauve) 12%, var(--linen)), color-mix(in srgb, var(--clay) 12%, var(--linen)));
  border: 0; border-radius: var(--r); padding: 1.5rem 1.7rem; margin: 2.2rem 0; max-width: 38rem;
}
.reading__col .wp-block-quote p { margin: 0; }
