/* Company31 · essays.css · November 2026
   The essays (essays/) and the founder page (founder/), moved here from
   manuelre.com. Everything else comes from styles.css: the sheet, the type,
   the figure captions and the title block. This adds only a reading measure
   for long prose, the archive list, and the founder page's timeline. */

.es-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem); }
.es-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -.03em; margin: .4rem 0 1.25rem; }
.es-hero .lede { max-width: 40rem; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }

.figcap .hlink { flex: none; }
.es-meta { display: block; color: var(--faint); font-size: .64rem; letter-spacing: .14em; }

/* The latest essay: one large card, the archive's lead. */
.es-feature {
  display: grid; gap: .6rem; max-width: 46rem; text-decoration: none; color: var(--text);
  border-top: 1px solid var(--line); padding-top: 1.1rem; transition: border-top-color .25s ease;
}
.es-feature:hover { border-top-color: var(--accent); }
.es-feature-title {
  font-family: "Company31 Sans", "Bricolage Grotesque", serif; font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
}
.es-feature-deck { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.es-cta { color: var(--accent); }
.es-feature:hover .es-cta { text-decoration: underline; text-underline-offset: 4px; }

/* The archive. */
.es-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.es-list li { border-top: 1px solid var(--hairline); padding: 1rem 0 1.2rem; transition: border-top-color .25s ease; }
.es-list li:hover { border-top-color: var(--accent); }
.es-list a { display: grid; gap: .35rem; text-decoration: none; color: var(--text); margin-bottom: .5rem; }
.es-list-title {
  font-family: "Company31 Sans", "Bricolage Grotesque", serif; font-weight: 600;
  font-size: 1.22rem; line-height: 1.25; letter-spacing: -.015em;
}
.es-list a:hover .es-list-title { color: var(--accent); }
.es-list-deck { font-size: .95rem; line-height: 1.55; color: var(--muted); }

.es-author-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1.2rem; }

/* The article: a reading measure inside the sheet. */
.es-measure { max-width: 46rem; }
.es-article-head { padding-block: clamp(2rem, 5vw, 3.25rem) 0; }
.es-back { display: inline-flex; margin-bottom: 1.6rem; }
.es-article-head .label { margin-bottom: .9rem; }
.es-article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; }
.es-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; }
.es-deck { margin-top: 1.1rem; font-size: clamp(1.08rem, 1.8vw, 1.22rem); font-style: italic; line-height: 1.55; color: var(--muted); }
.es-article-head .es-meta { margin-top: 1.3rem; }

.es-listen-toggle {
  flex: none; width: 44px; height: 44px; margin-top: .3rem; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.es-listen-toggle:hover { background: var(--fill); }
.es-listen-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.es-listen-toggle .icon-pause, .es-listen-toggle.is-playing .icon-play { display: none; }
.es-listen-toggle.is-playing .icon-pause { display: block; }

.es-body, .es-prose { font-size: clamp(1.04rem, .98rem + .25vw, 1.15rem); line-height: 1.78; }
.es-body { padding-block: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--hairline); margin-top: 2rem; }
.es-prose { max-width: 44rem; }
.es-body > p:first-of-type::first-letter {
  float: left; margin: .06em .08em 0 0; color: var(--accent);
  font-size: 3.4em; line-height: .82;
}
.es-body h2, .es-body h3, .es-body h4 { margin: 2.2em 0 .6em; }
.es-body h2 { font-size: 1.45rem; letter-spacing: -.015em; }
.es-body h3 { font-size: 1.18rem; }
.es-body h4 {
  color: var(--accent); font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.es-body p, .es-body ul, .es-body ol, .es-body blockquote, .es-body pre, .es-body figure,
.es-prose p { margin: 0 0 1.4em; }
.es-body ul, .es-body ol { padding-left: 1.35em; }
.es-body li { padding-left: .25em; margin-bottom: .5em; }
.es-body li::marker { color: var(--accent); }
.es-body blockquote { padding: .2rem 0 .2rem 1.4rem; border-left: 2px solid var(--accent); color: var(--muted); font-style: italic; }
.es-body blockquote p { margin: 0; }
.es-body hr { width: 4rem; margin: 2.6rem auto; border: 0; border-top: 1px solid var(--line); }
.es-body code {
  padding: .1em .3em; background: var(--fill); border-radius: 3px;
  font-family: "Company31 Mono", "Spline Sans Mono", monospace; font-size: .86em;
}
.es-body pre { overflow-x: auto; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: var(--fill); font-size: .86rem; line-height: 1.6; }
.es-body pre code { padding: 0; background: transparent; }
.es-body img { display: block; width: 100%; height: auto; }
.es-body figcaption { margin-top: .6rem; color: var(--faint); font-size: .85rem; }

.es-listen { padding-top: 1.6rem; border-top: 1px solid var(--hairline); scroll-margin-top: 2rem; }
.es-listen .label { margin-bottom: .8rem; }
.es-listen audio { display: block; width: 100%; }

.es-article-foot { margin-top: 2.2rem; padding: 1.6rem 0 clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--hairline); color: var(--muted); font-size: .98rem; }
.es-end { color: var(--accent); text-align: center; margin-bottom: 1rem; }

/* The founder page. */
.fd-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.fd-hero .ctas { gap: 1rem 1.6rem; }
.fd-facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fd-facts div { border-bottom: 1px solid var(--hairline); padding: .7rem 0; }
.fd-facts dt { color: var(--accent); font-size: .62rem; }
.fd-facts dd { margin: .15rem 0 0; font-size: .98rem; line-height: 1.45; }

.fd-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2.4rem; }
.fd-results li { border-top: 1px solid var(--hairline); padding: 1rem 0 1.2rem; }
.fd-figure {
  display: block; margin-bottom: .4rem; color: var(--accent);
  font-family: "Company31 Sans", "Bricolage Grotesque", serif; font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; line-height: 1.1;
}
.fd-results p { font-size: .95rem; line-height: 1.55; color: var(--muted); }

.fd-roles { list-style: none; margin: 0; padding: 0; }
.fd-roles li { display: grid; grid-template-columns: 11rem 1fr; gap: 1.6rem; border-top: 1px solid var(--hairline); padding: 1rem 0 1.15rem; }
.fd-dates { color: var(--faint); font-size: .64rem; letter-spacing: .12em; padding-top: .3rem; }
.fd-roles h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.fd-role-title { color: var(--accent-strong); font-size: .98rem; margin: .1rem 0 .35rem; }
.fd-roles li p:last-child { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.fd-more { margin-top: 1rem; }

.fd-creds { list-style: none; margin: 0; padding: 0; }
.fd-creds li { display: grid; grid-template-columns: 11rem 1fr auto; gap: .3rem 1.6rem; align-items: baseline; border-top: 1px solid var(--hairline); padding: .7rem 0; }
.fd-creds .mono { color: var(--faint); font-size: .64rem; }
.fd-org { color: var(--muted); font-size: .95rem; }

@media (max-width: 820px) {
  .es-list { grid-template-columns: 1fr; }
  .fd-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fd-roles li, .fd-creds li { grid-template-columns: 1fr; gap: .25rem; }
  .figcap { flex-wrap: wrap; }
}

@media print {
  header, footer, .benchrule, .benchtools, .es-listen, .es-listen-toggle, .es-back, .ctas { display: none !important; }
  body { background: none; }
  body::before { display: none; }
}
