/* The home page's argument: headline, thesis, how each step led to it, the lead
   proof, the latest writing and the invitation. Same paper, ink and type as the
   rest of the sheet (world.css); nothing here moves, so there is no
   reduced-motion variant to keep in step. */

.world__headline {
  max-width: 17em;
  margin-top: .35rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--vermillion);
  text-wrap: balance;
}

.thesis,
.dots,
.proof,
.latest,
.talk {
  margin-top: clamp(2.6rem, 6vw, 4.6rem);
}

.thesis__label { scroll-margin-top: 2rem; }

/* One small label per section: ink, uppercase, with the sheet's red rule. */
.thesis__label {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.thesis__label::after {
  content: "";
  flex: 0 0 3.2rem;
  height: 3px;
  background: var(--vermillion);
}

/* The thesis: a reading column, large enough to be read rather than scanned. */
.thesis__text { display: grid; gap: 1.05rem; max-width: 36em; }
@media (min-width: 1000px) {
  /* The lede on the left; the argument beside it, so the cabinet is not pushed
     a full screen down. */
  .thesis__text {
    max-width: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
  }
  .thesis__text .thesis__lede { grid-column: 1; grid-row: 1 / span 3; max-width: 22em; }
  .thesis__text > :not(.thesis__lede) { grid-column: 2; max-width: 34em; }
}
.thesis__text p {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.thesis__text .thesis__lede {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.38;
  letter-spacing: -.012em;
}
.thesis__text .thesis__closing {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  letter-spacing: -.015em;
}

/* How I got here: a ledger. Year, what happened, what it taught. */
.dots__list { border-top: 2px solid var(--ink); }
.dots__step {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1.2fr) minmax(0, 1fr);
  gap: .4rem 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}
.dots__when {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--vermillion);
}
.dots__what h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.dots__what h3 a { text-underline-offset: 4px; }
.dots__what h3 a:hover { color: var(--vermillion); }
.dots__what p { margin-top: .25rem; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.dots__what .dots__pending {
  padding: .35rem .6rem;
  border: 1px dashed var(--vermillion);
  color: var(--vermillion);
  font-size: .82rem;
}
.dots__lesson {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.38;
  letter-spacing: -.01em;
}

/* Proof: Lintel, set apart; the built-alone work is a line beneath it. */
.proof__lead {
  max-width: 38em;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  background: var(--paper-lit);
  border: 1.5px solid var(--ink);
  border-left: 6px solid var(--vermillion);
  box-shadow: 0 22px 34px -28px rgba(19, 21, 15, .6);
}
.proof__lead h3 {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}
.proof__lead p { margin-top: .7rem; font-size: 1.02rem; line-height: 1.55; text-wrap: pretty; }
.proof__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  margin-top: .4rem;
  font-weight: 600;
  text-underline-offset: 4px;
}
.proof__link:hover { color: var(--vermillion); }
.proof__grid { display: grid; gap: 1.6rem 3rem; }
@media (min-width: 900px) {
  .proof__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
}
.proof__alone h3 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.proof__alone ul { margin-top: .5rem; border-top: 2px solid var(--ink); }
.proof__alone li { padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; line-height: 1.45; }
.proof__alone a { font-weight: 600; text-underline-offset: 4px; }
.proof__alone a:hover { color: var(--vermillion); }
.proof__alone span { display: block; color: var(--ink-soft); }

/* Writing */
.latest__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.6rem 2rem; border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.latest__list h3 { font-family: var(--font-display, Georgia, serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.latest__list h3 a { text-underline-offset: 4px; }
.latest__list h3 a:hover { color: var(--vermillion); }
.latest__date { margin-top: .35rem; font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); }
.latest__draft { margin-left: .5rem; font-weight: 600; color: var(--vermillion); }
.latest__list li > p:last-child { margin-top: .5rem; font-size: .95rem; line-height: 1.5; }
.latest__all { margin-top: 1.2rem; }
.latest__all a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.latest__all a:hover { color: var(--vermillion); }

/* Open to talk: two plain sentences above the card that carries the buttons. */
.talk { max-width: 36em; margin-inline: auto; text-align: center; }
.talk h2 {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.talk p { margin-top: .8rem; font-size: 1.05rem; line-height: 1.55; text-wrap: pretty; }
.talk + .contact-card { margin-top: 1.8rem; }

/* Behind an open chapter, the sections below the cabinet recede with the card. */
html[data-state="plate"] :is(.dots, .proof, .latest, .talk) { opacity: .12; }

@media (max-width: 760px) {
  .dots__step { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .talk { text-align: left; }
}

@media print {
  .dots__step { break-inside: avoid; }
}
