/* ============================================================================
   3fp-site.css — zemla.org layer over 3fp-core.css · v1.0.0 · 2026-11-14
   The minimal look stays: light headings, centred section heads. What changes
   is consistency — one text size, one heading scale, legible small print.
   ========================================================================== */
:root {
  --tfp-accent: #3d5c3d;
  --tfp-link:   #34522f;
  --tfp-w-h1: 400; --tfp-w-h2: 600; --tfp-w-h3: 600;
}
/* the six-item menu with glyphs needs a little less air to stay on one line */
.site-nav a { font-size: var(--tfp-fs-xs); letter-spacing: .06em; }
.site-nav ul { gap: clamp(.6rem, 1.6vw, 1.5rem); }
@media (max-width: 72em) { .site-nav ul { gap: .6rem; } .site-nav a { letter-spacing: .02em; } }

/* small print that was 11–12 px or under 4.5:1 */
.site-footer :is(a, span, p, li) { color: var(--tfp-ink-2); }
.site-footer h4 { font-size: var(--tfp-fs-xs); letter-spacing: .08em; color: var(--tfp-ink-2); }
:is(.zemla-note a, .post-meta__cat, .cf-btn, .read-more) { color: var(--tfp-link); }
:is(.toy-models-section, .mi-m-t-domains) :is(a, span, p, small, em), .enso-tooltip, .enso-tooltip :is(em, strong, span), .enso-centre__link,
:is(.album-card__meta, .recent-note__date, .collection-filter__heading), .section-landing__sub-grid p { font-size: var(--tfp-fs-xs); }
.collection-filter__heading { font-weight: 700; letter-spacing: .08em; }

/* centred section heads keep their axis; long centred leads read better balanced */
body:not(.home) main :is(.section-hero, .section-landing__hero, .topic-hero) :is(.page-lead, p) { text-wrap: balance; margin-inline: auto; }

/* ============================================================================
   Inner pages, redrawn 2026-11-14 (v1.1.0)
   The homepage is four symbols, one word and a quiet list. The inner pages
   now speak the same way: one column, hairlines, small caps for what is
   secondary, no boxes, no pills, no cards. Three patterns and nothing else:
     1  page head     small symbol, title, lead — left edge of one column
     2  index rows    date or glyph in a narrow column, title, one muted line
     3  running text  the reading column of 3fp-core
   ========================================================================== */
:root { --z-col: var(--tfp-measure); --z-gutter: 6.5rem; }

/* every inner page shares one axis: a 42 rem column centred on the page */
body:not(.home) main > .container,
body:not(.home) main > article > .container,
body:not(.home) main > article > header > .container { max-width: calc(var(--z-col) + 2 * var(--tfp-pad)); }

/* 1 — page head */
.section-landing { padding: var(--tfp-s5) 0 var(--tfp-s5); text-align: left; }
.section-landing__symbol { font-size: 1.75rem !important; line-height: 1; margin: 0 0 1rem; color: var(--tfp-ink-3); text-align: left; }
body:not(.home) main .section-landing__title, body:not(.home) main > .container > header h1 { margin: 0 0 1rem; text-align: left; }
body:not(.home) main .section-landing__lead { font-size: 1.125rem; line-height: 1.6; color: var(--tfp-ink-2); margin: 0 0 var(--tfp-s4); max-width: none; text-align: left; text-wrap: pretty; }
/* the breadcrumb paragraph above a topic head */
body:not(.home) main > .container > p:first-child { font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--tfp-ink-3); margin: var(--tfp-s3) 0 0; }
body:not(.home) main > .container > p:first-child a { color: inherit; text-decoration: none; }
body:not(.home) main > .container > p:first-child + .section-landing { padding-top: var(--tfp-s2); }

/* 2 — index rows: sub-sections, hub links, posts */
.section-landing__sub-grid, .zemla-physics-hub-nav { display: block; margin: 0 0 var(--tfp-s4); padding: 0; border-bottom: 1px solid var(--tfp-line); gap: 0; text-align: left; }
.section-landing__sub-grid > p { font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--tfp-ink-3); margin: 0 0 .5rem; }
.sub-card, .zemla-physics-hub-card { display: grid; grid-template-columns: var(--z-gutter) minmax(0, 1fr); column-gap: 0; align-items: baseline; padding: .95rem 0; margin: 0; border: 0; border-top: 1px solid var(--tfp-line); border-radius: 0; background: none; box-shadow: none; text-decoration: none; color: inherit; transform: none; text-align: left; }
.sub-card:hover, .zemla-physics-hub-card:hover { background: none; box-shadow: none; transform: none; }
.sub-card__glyph, .zemla-physics-hub-card__icon { grid-row: 1 / span 2; font-size: 1.25rem; line-height: 1.3; color: var(--tfp-ink-3); margin: 0; }
body:not(.home) main .sub-card__title, .zemla-physics-hub-card__title { grid-column: 2; margin: 0; font-family: var(--tfp-font-ui); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--tfp-ink); }
body:not(.home) main .sub-card__body { grid-column: 2; margin: .15rem 0 0; font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-sm); line-height: 1.5; color: var(--tfp-ink-2); max-width: none; }
.zemla-physics-hub-card__body { grid-column: 2; display: block; }
.zemla-physics-hub-card__title { display: block; }
.zemla-physics-hub-card__label { display: block; margin-top: .15rem; font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--tfp-ink-3); }
.zemla-physics-hub-card__arrow { display: none; }
:is(.sub-card, .zemla-physics-hub-card):hover :is(.sub-card__title, .zemla-physics-hub-card__title) { color: var(--tfp-link); text-decoration: underline; text-underline-offset: .25em; }

/* blog: a table of contents, not a feed of cards */
.cat-filter { display: flex; flex-wrap: wrap; column-gap: 1.75rem !important; row-gap: .25rem !important; margin: 0 0 var(--tfp-s3); padding: 0 0 .9rem; border-bottom: 1px solid var(--tfp-line); }
.cat-filter .cf-btn { padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-sm); font-weight: 400; color: var(--tfp-ink-2); text-decoration: none; min-height: 2rem; display: inline-flex; align-items: center; gap: .35rem; }
.cat-filter .cf-btn--active { color: var(--tfp-ink); font-weight: 600; box-shadow: 0 2px 0 var(--tfp-ink); background: none; }
.cat-filter .cf-count { padding: 0; background: none; font-size: var(--tfp-fs-xs); color: var(--tfp-ink-3); font-variant-numeric: tabular-nums; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list__item { display: grid; grid-template-columns: var(--z-gutter) minmax(0, 1fr); column-gap: 0; row-gap: .3rem; padding: 1.15rem 0; margin: 0; border: 0; border-bottom: 1px solid var(--tfp-line); }
.post-list__item > * { grid-column: 2; }
.post-list__item .post-meta { display: contents !important; }
.post-list__item .post-meta time { grid-column: 1; grid-row: 1; align-self: baseline; padding-top: .3rem; font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs) !important; color: var(--tfp-ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.post-list__item .post-meta__lang { display: none; }                     /* the list already holds one language */
.post-list__item .post-meta__cat, .post-list__item .post-meta > span { grid-column: 2; grid-row: 3; justify-self: start; }
.post-list__item .post-meta__cat { padding: 0; background: none; border-radius: 0; font-size: var(--tfp-fs-xs) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--tfp-ink-3); text-decoration: none; }
.post-list__item .post-meta > span[style] { margin: 0 !important; font-size: var(--tfp-fs-xs) !important; }
.post-list__item .post-meta > span[style] a { font-size: var(--tfp-fs-xs) !important; }
.post-list__thumb-link { display: none; }                               /* pictures belong to the post, not to its index line */
body:not(.home) main .post-list__title { grid-row: 1; margin: 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.post-list__title a { color: var(--tfp-ink); text-decoration: none; }
.post-list__title a:hover { color: var(--tfp-link); text-decoration: underline; text-underline-offset: .2em; }
body:not(.home) main .post-list__excerpt { grid-row: 2; margin: 0; font-size: var(--tfp-fs-sm); line-height: 1.55; color: var(--tfp-ink-2); max-width: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-list__item .read-more { display: none; }                          /* the title is the link */
.page-numbers { font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-sm); padding: .4rem .6rem; text-decoration: none; }

@media (max-width: 40em) {
  :root { --z-gutter: 2.25rem; }
  .post-list__item { grid-template-columns: minmax(0, 1fr); }
  .post-list__item > *, .post-list__item .post-meta time { grid-column: 1; }
  .post-list__item .post-meta time { grid-row: 1; padding-top: 0; }
  body:not(.home) main .post-list__title { grid-row: 2; }
  body:not(.home) main .post-list__excerpt { grid-row: 3; }
  .post-list__item .post-meta__cat, .post-list__item .post-meta > span { grid-column: 1; grid-row: 4; }
}

/* 3 — running text inside section pages keeps the same column and rhythm */
.section-landing .post-content { text-align: left; margin: 0; }
.section-landing .post-content hr, .zemla-section-intro hr, .zemla-physics-hub-content hr { border: 0; border-top: 1px solid var(--tfp-line); margin: var(--tfp-s4) 0; }
:is(.zemla-section-intro, .zemla-physics-hub-content, .toy-models-section) { text-align: left; max-width: var(--z-col); }
/* the boxed "intro" becomes plain running text; a box around half a page is not an emphasis */
body:not(.home) main .zemla-section-intro { margin: 0 0 var(--tfp-s4); padding: 0; border: 0; border-radius: 0; background: none; }
body:not(.home) main .zemla-section-intro p { font-size: var(--tfp-fs-text); line-height: var(--tfp-lh-text); color: var(--tfp-ink); margin: 0 0 1.1em; }
body:not(.home) main .zemla-physics-hub-content { margin: 0; padding: var(--tfp-s4) 0 0; border-top: 1px solid var(--tfp-line); }
body:not(.home) main :is(.zemla-section-intro, .zemla-physics-hub-content) :is(h2, h3) { text-align: left; }

/* ── homepage B (?tfp_z=b): the ensō of the joint concept, still, for comparison with the present one ── */
body.tfp-z-b { --c-bg: #F6EEDC; --tfp-bg: #F6EEDC; --tfp-seal: #B5232C; background-color: #F6EEDC; }
body.tfp-z-b .site-header { background-color: #F6EEDC; }
body.tfp-z-b .enso-svg--concept { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
body.tfp-z-b .enso-stage { overflow: visible; }
body.tfp-z-b .enso-glyph { color: #1C1A17; -webkit-text-stroke: .28em #F6EEDC; paint-order: stroke fill; text-shadow: 0 0 .12em #F6EEDC, 0 0 .2em #F6EEDC; }
body.tfp-z-b .enso-motto a, body.tfp-z-b .front-main a:not(.enso-node):not(.enso-centre__link):not(.tfp-switch a) { color: #B5232C; }
body.tfp-z-b .tfp-seal { margin: var(--tfp-s3) auto 0; }

/* 2026-11-18 (owner): the wordmark is ink, as it was; green stays for links. */
.site-logo, .site-logo__text, .site-logo__text span { color: var(--tfp-ink) !important; }
/* homepage ends with the figure and its line; no empty band before the footer */
body.home main { padding-bottom: 0; }
body.home .front-hero { padding-bottom: var(--tfp-s4); margin-bottom: 0; }
body.home .site-footer { margin-top: 0; }

/* 1.19.15 (2026-11-26): the homepage ensō clipped its hover labels at the stage edge ("SYCHOLOGIE · HORY" in Czech,
   the left node's label is wider than the space left of the node). The thick stroke is clipped by the SVG itself,
   so the stage no longer needs to clip. Checked live: desktop 1280 (label whole, ring unchanged), phone 375
   (all four labels inside the viewport, no horizontal scroll). */
.enso-stage { overflow: visible; }
.enso-svg { overflow: hidden; }

/* ── Physics section (zemla 1.19.16): hub groups + heavy-fermion reference block ─────────────── */
.zp-hub { margin: 0 0 var(--tfp-s4); text-align: left; }
.zp-group { margin: 0 0 var(--tfp-s4); }
body:not(.home) main .zp-group h2 { font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tfp-ink-3); margin: 0 0 .35rem; }
.zp-group__lead { margin: 0 0 .5rem; color: var(--tfp-ink-2); font-size: .975rem; }
.zp-projects, .zp-list, .zp-articles { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--tfp-line); }
.zp-project { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: .9rem 0; border-top: 1px solid var(--tfp-line); }
.zp-project__seal { width: 56px; height: 56px; display: block; }
.zp-project__glyph { width: 56px; text-align: center; font-size: 1.35rem; line-height: 56px; color: var(--tfp-ink-3); }
.zp-project__body { display: block; min-width: 0; }
.zp-project__name { display: block; font-family: var(--tfp-font-ui); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; overflow-wrap: anywhere; }
.zp-project__line { display: block; margin-top: .15rem; color: var(--tfp-ink-2); }
.zp-project__state { display: block; margin-top: .2rem; font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--tfp-ink-3); }
.zp-list li, .zp-articles li { padding: .7rem 0; border-top: 1px solid var(--tfp-line); }
.zp-list__note { color: var(--tfp-ink-3); font-size: var(--tfp-fs-xs); }
.zp-articles__date { display: inline-block; min-width: 6.5em; font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); color: var(--tfp-ink-3); font-variant-numeric: tabular-nums; }
.zp-hf { margin: 0 0 var(--tfp-s4); padding-bottom: var(--tfp-s3); border-bottom: 1px solid var(--tfp-line); }
.zp-ladder { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .95rem; }
.zp-ladder th, .zp-ladder td { text-align: left; vertical-align: top; padding: .45rem .6rem .45rem 0; border-top: 1px solid var(--tfp-line); }
.zp-ladder thead th { font-family: var(--tfp-font-ui); font-size: var(--tfp-fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--tfp-ink-3); border-top: 0; }
.zp-ladder tbody th { white-space: nowrap; font-family: var(--tfp-font-ui); }
.zp-status { color: var(--tfp-ink-2); font-style: italic; }
@media (max-width: 480px) {
  .zp-project { grid-template-columns: 40px minmax(0, 1fr); column-gap: .75rem; }
  .zp-project__seal { width: 40px; height: 40px; }
  .zp-project__glyph { width: 40px; line-height: 40px; font-size: 1.1rem; }
  .zp-ladder { font-size: .875rem; }
  .zp-articles__date { display: block; }
}

/* ── Masterpiece frame (zemla 1.19.17): Sengai's ○△□ on the about page of the sign ─────────────────────────
   A quiet mount, not a gallery effect: paper-white field, hairline rule, a faint lift; caption centred under it. */
.post-content figure.tfp-masterpiece { margin: var(--tfp-s4) 0; padding: clamp(.75rem, .4rem + 1.6vw, 1.5rem) clamp(.75rem, .4rem + 1.6vw, 1.5rem) clamp(.6rem, .4rem + 1vw, 1.1rem);
  background: #fdfcf9; border: 1px solid rgba(28, 27, 24, .12); border-radius: 2px;
  box-shadow: 0 1px 2px rgba(28, 27, 24, .05), 0 10px 28px -12px rgba(28, 27, 24, .18); }
.post-content figure.tfp-masterpiece img { display: block; width: 100%; height: auto; margin: 0; }
.post-content figure.tfp-masterpiece figcaption { margin: .85rem 0 0; text-align: center; font-family: var(--tfp-font-ui);
  font-size: var(--tfp-fs-xs); line-height: 1.45; color: var(--tfp-ink-3); text-wrap: balance; }
.post-content figure.tfp-masterpiece figcaption strong { display: block; margin-bottom: .15rem; font-family: var(--tfp-serif, inherit);
  font-size: 1rem; font-weight: 600; letter-spacing: .01em; color: var(--tfp-ink); }
.post-content figure.tfp-masterpiece figcaption span { display: block; }
