/* Article (blog/<slug>/). Read mode. Loads after category, catalogue, product and blog
   CSS and reuses their crumbs, mount, crop marks, contents list, sheet, FAQs, cards and
   quote slip. The page reads like a printed field note: serif headline, a 64ch column,
   the contents held on the left, a thin orange progress line under the nav. */

.progress { position: fixed; inset: 0 0 auto; z-index: 31; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.post__head {
  position: relative;
  padding: 8.5rem var(--col) 2.5rem;
  background:
    radial-gradient(ellipse 50% 60% at 50% 20%, rgba(243, 214, 184, 0.4), rgba(243, 214, 184, 0) 70%),
    linear-gradient(180deg, #fdfcfa, #f8f4ec);
  isolation: isolate;
}
.post__head .chero__grid { -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 30%, #000 15%, transparent 80%); mask-image: radial-gradient(ellipse 50% 70% at 50% 30%, #000 15%, transparent 80%); }
/* Centred title block: crumbs, topic, title, dek and byline share one axis. */
.post__head { text-align: center; }
.post__head .crumbs ol { margin-bottom: 2rem; justify-content: center; }
.post__topic {
  display: inline-block; padding: 0.3125rem 0.875rem;
  border: 1px dashed rgba(194, 83, 15, 0.55); border-radius: 999px;
  font-size: max(13px, 0.8125rem); font-weight: 600; color: var(--orange-deep);
  transition: background-color 0.3s, color 0.3s;
}
.post__topic:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.post__title {
  margin: 1.25rem auto 0; max-width: 22ch;
  font-family: var(--serif); font-weight: 400;
  font-size: 3.25rem; line-height: 1.04; letter-spacing: -0.022em;
  color: var(--ink-strong); text-wrap: balance;
}
.post__title em { font-style: normal; color: var(--orange); }
.post__dek { margin: 1.125rem auto 0; max-width: 46ch; font-size: max(16px, 1.125rem); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }

.byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: left; gap: 0.75rem 1rem; margin-top: 1.75rem; }
/* Minimal head: name and date only; the role stays in the markup for readers and crawlers. */
.byline .byline__mark, .byline .byline__role { display: none; }
.byline__mark {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 50%; background: var(--kraft); border: 1px dashed rgba(194, 83, 15, 0.5);
  font-family: var(--serif); font-size: 1.25rem; color: var(--orange-deep);
}
.byline__who { display: grid; }
.byline__name { font-size: max(15px, 1rem); font-weight: 600; color: var(--ink-strong); }
.byline__role { font-size: max(13px, 0.8125rem); color: var(--ink-soft); }
.byline__meta { display: flex; gap: 1rem; margin-left: 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--line); font-size: max(13px, 0.875rem); color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Hero image ---------- */
.post__hero { margin: 0; padding: 0 var(--col); background: linear-gradient(180deg, #f8f4ec 0%, var(--paper) 70%); }
.post__mount {
  position: relative; max-width: 52rem; margin: 0 auto; padding: 0.875rem;
  background: var(--paper); border-radius: 1.75rem;
  box-shadow: 0 0.125rem 0.25rem rgba(26, 23, 18, 0.06), 0 2rem 4rem -2.5rem rgba(90, 60, 30, 0.4);
}
.post__mount img { width: 100%; height: auto; border-radius: 1.125rem; }
/* The floating crop marks read as stray lines on a centred page; the caption anchors the image instead. */
.post__mount .crop { display: none; }
.post__cap { max-width: 52rem; margin: 1rem auto 0; text-align: center; font-size: max(13px, 0.875rem); color: var(--ink-soft); }

/* ---------- At a glance: the three labels as one ruled strip ---------- */
.postp .glance { display: block; padding: 3.5rem var(--col) 0; }
.postp .glance__title { margin: 0 0 1.25rem; text-align: center; font-family: var(--sans); font-size: max(12px, 0.8125rem); font-weight: 600; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.postp .glance__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 60rem; margin: 0 auto; padding: 0; list-style: none;
  background: #fffdf9; border: 1px solid var(--line); border-radius: 1.5rem;
  box-shadow: 0 1.5rem 3rem -2.5rem rgba(90, 60, 30, 0.35);
  overflow: hidden;
}
.postp .glance__item { position: relative; padding: 1.75rem 1.75rem 1.625rem; }
.postp .glance__item + .glance__item { border-left: 1px dashed rgba(26, 23, 18, 0.14); }
.postp .glance__item::before { content: ""; position: absolute; left: 1.75rem; top: 0; width: 2.5rem; height: 3px; border-radius: 0 0 3px 3px; background: var(--dot); }
.postp .glance__item--rec { --dot: var(--green, #1f4d3a); }
.postp .glance__item--com { --dot: var(--orange); }
.postp .glance__item--bio { --dot: var(--ink-strong); background: linear-gradient(180deg, rgba(243, 214, 184, 0.28), rgba(243, 214, 184, 0)); }
.postp .glance__tag { display: flex; align-items: center; gap: 0.625rem; font-family: var(--serif); font-size: 1.625rem; line-height: 1.1; color: var(--ink-strong); }
.postp .glance__tag em {
  font-family: var(--sans); font-style: normal; font-size: max(11px, 0.6875rem); font-weight: 600; letter-spacing: 0.04em;
  padding: 0.1875rem 0.5rem; border: 1px dashed rgba(194, 83, 15, 0.6); border-radius: 999px; color: var(--orange-deep);
}
.postp .glance__def { margin: 0.75rem 0 0; font-size: max(15px, 1rem); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.postp .glance__need { display: grid; gap: 0.125rem; margin: 1.125rem 0 0; padding-top: 0.875rem; border-top: 1px solid var(--line); font-size: max(14px, 0.875rem); line-height: 1.45; color: var(--ink-strong); }
.postp .glance__need span { font-size: max(11px, 0.6875rem); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Body ---------- */
.post__body {
  display: grid; grid-template-columns: 17rem minmax(0, 1fr);
  gap: 3rem 6rem; align-items: start;
  padding: 4rem var(--col) 5rem;
}
/* Contents: a small kraft card with a reading rail. The active section lights an
   orange tick on the rail; the quote link sits as an ink pill at the foot. */
.post__toc {
  position: sticky; top: 7rem;
  padding: 1.375rem 1.25rem 1.25rem;
  background: var(--kraft); border-radius: 1.25rem;
}
.post__toc::after { content: ""; position: absolute; inset: 0.375rem; border: 1px dashed rgba(194, 83, 15, 0.35); border-radius: 0.9375rem; pointer-events: none; }
.post__toc-title { margin: 0 0 0.875rem 0.25rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--ink-strong); }
.post__toc .toc { position: relative; margin: 0; padding-left: 0.25rem; }
.post__toc .toc::before { content: ""; position: absolute; left: 0.25rem; top: 0.375rem; bottom: 0.375rem; width: 1px; background: rgba(26, 23, 18, 0.14); }
.post__toc .toc a, .post__toc .toc li:last-child a {
  position: relative; grid-template-columns: 1.5rem 1fr; gap: 0.25rem;
  padding: 0.5rem 0 0.5rem 0.875rem; border: 0;
  font-size: max(14px, 0.875rem); line-height: 1.4;
  transition: color 0.3s;
}
.post__toc .toc a::before { font-size: 0.75rem; line-height: 1.6; }
.post__toc .toc a::after {
  content: ""; position: absolute; left: -0.0625rem; top: 0.5rem; bottom: 0.5rem; width: 3px;
  border-radius: 2px; background: var(--orange); scale: 1 0; transition: scale 0.35s var(--ease-soft);
}
.post__toc .toc a[aria-current] { color: var(--ink-strong); font-weight: 500; }
.post__toc .toc a[aria-current]::after { scale: 1 1; }
.post__toc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  margin-top: 1.125rem; padding: 0.75rem 1rem 0.75rem 1.125rem;
  border-radius: 999px; background: var(--ink-strong); color: #fbf7f0;
  font-size: max(14px, 0.875rem); font-weight: 600; white-space: nowrap;
  position: relative; z-index: 1; transition: background-color 0.3s;
}
.post__toc-cta svg { width: 1rem; height: 1rem; transition: translate 0.4s var(--ease-soft); }
.post__toc-cta:hover { background: var(--orange-deep); }
.post__toc-cta:hover svg { translate: 0.25rem 0; }

.prose { max-width: 66ch; }
.prose > p, .prose li p { font-size: max(16px, 1.125rem); line-height: 1.75; color: var(--ink); text-wrap: pretty; }
.prose > p { margin: 1.25rem 0 0; }
.prose > p:first-child { margin-top: 0; }
.prose__lead { font-size: max(18px, 1.375rem) !important; line-height: 1.55 !important; color: var(--ink-strong) !important; }
.prose h2 {
  margin: 3.5rem 0 0; scroll-margin-top: 7rem;
  font-family: var(--serif); font-weight: 400; font-size: 2.375rem; line-height: 1.1; letter-spacing: -0.015em;
  color: var(--ink-strong); text-wrap: balance;
}
.prose em { font-style: italic; }
.prose a, .faq__a a.inline {
  color: var(--ink-strong);
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--orange); text-underline-offset: 0.25rem;
  transition: color 0.3s, text-decoration-thickness 0.3s;
}
.prose a:hover, .faq__a a.inline:hover { color: var(--orange-deep); text-decoration-thickness: 2px; }

.pull { position: relative; margin: 2.5rem 0; padding: 0.25rem 0 0.25rem 2rem; border-left: 1px solid var(--orange); }
.pull p { margin: 0; font-family: var(--serif); font-size: 2rem; line-height: 1.2; color: var(--orange-deep); text-wrap: balance; }

.note {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem;
  margin: 2.25rem 0; padding: 1.75rem 2rem;
  background: var(--kraft); border-radius: 1.25rem;
}
.note::after { content: ""; position: absolute; inset: 0.4375rem; border: 1px dashed rgba(194, 83, 15, 0.45); border-radius: 0.875rem; pointer-events: none; }
.note__ico { grid-row: span 2; width: 1.75rem; height: 1.75rem; margin-top: 0.25rem; fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-linejoin: round; }
.note p { margin: 0; font-size: max(16px, 1.0625rem); line-height: 1.7; color: var(--ink-strong); }
.note .note__by { margin-top: 0.75rem; font-size: max(13px, 0.875rem); font-weight: 600; color: var(--orange-deep); }

.post__sheet { margin-top: 1.75rem; padding: 0.5rem 1.5rem 1rem; }
.sheet__scroll { overflow-x: auto; }
.sheet__scroll:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 4px; }
.cmp { min-width: 36rem; }
.cmp th, .cmp td { padding: 1rem 1rem 1rem 0 !important; }
.cmp tbody th { width: 22% !important; }
.cmp td, .cmp td:last-child { font-size: max(15px, 1rem); line-height: 1.45; color: rgba(246, 241, 232, 0.8); }
.cmp thead th:not(:first-child) { font-family: var(--serif); font-size: max(17px, 1.25rem); font-weight: 400; color: #fff; }
.cmp tbody th { color: #f39a5c !important; font-size: max(14px, 0.9375rem) !important; font-weight: 600 !important; }
.cmp thead th:first-child { font-size: max(12px, 0.8125rem); }
.cmp tbody tr:hover td { color: #fff; }

.mistakes { margin: 1.75rem 0 0; padding: 0; list-style: none; counter-reset: m; }
.mistakes li { counter-increment: m; position: relative; padding: 1.5rem 0 1.5rem 4rem; border-top: 1px solid var(--line); }
.mistakes li:last-child { border-bottom: 1px solid var(--line); }
.mistakes li::before { content: counter(m); position: absolute; left: 0; top: 1.25rem; font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--orange-deep); }
.mistakes h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--ink-strong); }
.mistakes li p { margin: 0.5rem 0 0; }
.disposal {
  display: inline-flex; align-items: center; gap: 0.625rem;
  margin-top: 1rem !important; padding: 0.625rem 1.125rem;
  border: 1.5px solid var(--ink-strong); border-radius: 0.375rem;
  background: #fffdf9;
  font-family: var(--sans) !important; font-size: max(14px, 0.9375rem) !important; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-strong) !important;
  rotate: -1deg;
}
.disposal svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* ---------- After the article ---------- */
.post-products, .more-notes { padding: 3rem var(--col) 4rem; }
.post-products { background: var(--kraft); border-top: 1px solid var(--line); padding-top: 5rem; }
.pp { position: relative; }
.pp > a:first-child { display: block; }
.pp__cat { display: block; margin-top: 1rem; font-size: max(12px, 0.8125rem); color: var(--ink-soft); }
.pp .fcard__name { display: block; margin-top: 0.25rem; font-size: 1.375rem; transition: color 0.3s; }
.pp > a:first-child:hover .fcard__name { color: var(--orange-deep); }
.pp > a:first-child:hover .fcard__photo img { scale: 1.04; }
.pp__desc { display: block; margin-top: 0.5rem; font-size: max(14px, 0.9375rem); line-height: 1.5; color: var(--ink-soft); }
.pp__quote { display: inline-flex; margin-top: 0.875rem; font-size: max(14px, 0.875rem); font-weight: 600; color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.25rem; }
.pp__quote:hover { color: var(--orange-deep); }
.pp .fcard__photo { background: #fff; }
.postp .faqs { background: none; padding-top: 5.5rem; }
.more-notes .fgrid { margin-top: 0; }
.postp .cx-quote { margin-top: 1rem; }

/* Entrance */
.post__topic, .post__title, .post__dek, .byline, .post__mount {
  transition-property: opacity, translate, filter;
  transition-duration: 1.2s, 1.4s, 1.2s;
  transition-timing-function: var(--ease-soft);
}
.is-loading .post__topic, .is-loading .post__title, .is-loading .post__dek, .is-loading .byline { opacity: 0; translate: 0 1.25rem; filter: blur(0.5rem); }
.is-loading .post__mount { opacity: 0; translate: 0 2rem; }
.post__title { transition-delay: 0.08s; }
.post__dek { transition-delay: 0.18s; }
.byline { transition-delay: 0.28s; }
.post__mount { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .is-loading .post__topic, .is-loading .post__title, .is-loading .post__dek, .is-loading .byline, .is-loading .post__mount { translate: none; filter: none; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .post__body { grid-template-columns: minmax(0, 1fr); }
  .post__toc { position: static; max-width: 36rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  .post__head { padding: 6.5rem var(--edge) 2rem; }
  .post__head .crumbs ol { margin-bottom: 1.25rem; }
  .post__title { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .post__dek { font-size: 17px; }
  .byline__meta { flex-basis: 100%; justify-content: center; margin-left: 0; padding-left: 0; border-left: 0; }
  .post__hero { padding: 0 var(--edge); }
  .post__mount { padding: 0.5rem; border-radius: 1.125rem; }
  .post__mount img { border-radius: 0.75rem; }
  .postp .glance { padding: 2.5rem var(--edge) 0; }
  .postp .glance__list { grid-template-columns: 1fr; }
  .postp .glance__item + .glance__item { border-left: 0; border-top: 1px dashed rgba(26, 23, 18, 0.14); }
  .postp .glance__item { padding: 1.5rem 1.25rem 1.375rem; }
  .postp .glance__item::before { left: 1.25rem; }
  .post__body { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2.5rem var(--edge) 3rem; }
  .post__toc { position: static; }
  .prose h2 { font-size: 1.875rem; margin-top: 2.75rem; }
  .pull { padding-left: 1.25rem; }
  .pull p { font-size: 1.5rem; }
  .note { padding: 1.5rem 1.25rem; column-gap: 0.875rem; }
  .post__sheet { padding: 0.25rem 1rem 0.75rem; }
  .cmp { display: table !important; }
  .cmp thead { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; display: table-header-group !important; }
  .cmp tbody { display: table-row-group !important; }
  .cmp tr { display: table-row !important; padding: 0 !important; }
  .cmp th, .cmp td { display: table-cell !important; }
  .mistakes li { padding-left: 3rem; }
  .mistakes li::before { font-size: 2rem; }
  .post-products, .more-notes { padding: 3rem var(--edge); }
  .postp .faqs { padding-top: 3.5rem; }
}
