/* ============================================================================
   info.css — the shared "document page" layer for editorial/info pages.
   Added 2026-11-27 with the page-consolidation pass. Loaded only by pages that
   set `$page_css` before requiring templates/head.php; every other page links
   nothing extra and stays byte-identical.

   Why it exists: the hub, the eight format pages and the 27 catalogues already
   share one visual system, while about / how-we-work / facts / procurement /
   moq / samples / for-startups / quality / sustainable each carried their own
   inline hero. Six were nearly identical already, two were a different banner
   style. This file makes the hero one component, so a visitor moving from a
   catalogue page into an explainer page stays in the same publication.

   It styles only: hero, section rhythm, prose measure, in-page contents and
   the closing band. Body content keeps its own markup.
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.info-hero{padding:44px 0 12px;scroll-margin-top:88px;}
.info-hero > .container{max-width:980px;text-align:center;}
.info-hero--left > .container{text-align:left;}
.info-kicker{font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--color-primary);margin:0 0 10px;}
.info-hero h1{font-size:clamp(28px,3.2vw,36px);font-weight:800;line-height:1.22;letter-spacing:-.015em;margin:0 0 14px;text-wrap:balance;}
.info-hero .info-lede{color:var(--color-text-secondary);font-size:15.5px;line-height:1.75;max-width:740px;margin:0 auto;}
.info-hero--left .info-lede{margin-left:0;}
.info-hero .info-lede + .info-lede{margin-top:10px;}
.info-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:22px;}
.info-hero--left .info-actions{justify-content:flex-start;}

/* ---- In-page contents ---------------------------------------------------- */
.info-toc{max-width:820px;margin:28px auto 0;padding:16px 20px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);text-align:left;}
.info-toc p{font-size:11.5px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--color-text-muted);margin:0 0 8px;}
.info-toc ol{list-style:none;margin:0;padding:0;columns:2;column-gap:36px;font-size:14px;line-height:1.9;}
.info-toc li{break-inside:avoid;}
.info-toc a{color:var(--color-text);text-decoration:none;}
.info-toc a:hover{color:var(--color-primary);text-decoration:underline;}

/* ---- Section rhythm on document pages ----------------------------------- */
.cos-section[id]{scroll-margin-top:88px;}
.cos-section h2{font-size:clamp(21px,2.2vw,26px);font-weight:800;letter-spacing:-.01em;line-height:1.28;}
.cos-section p,
.cos-section li{max-width:780px;line-height:1.8;}
/* A centred section header keeps its own alignment and centred measure. */
.cos-section-header{text-align:center;}
.cos-section-header p{margin-left:auto;margin-right:auto;}

/* ---- Closing band -------------------------------------------------------- */
.info-next{margin:8px 0 0;padding:30px 0 44px;border-top:1px solid var(--color-border-light);}
.info-next .container{max-width:900px;}
.info-next p{font-size:14.5px;line-height:1.8;color:var(--color-text-secondary);margin:0 0 14px;}
.info-next .info-next-links{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:14px;font-weight:600;}
.info-next a{color:var(--color-primary);text-decoration:none;}
.info-next a:hover{text-decoration:underline;}

@media (max-width:640px){
  .info-hero{padding:30px 0 6px;}
  .info-hero h1{font-size:27px;}
  .info-toc ol{columns:1;}
}
