/* =============================================================================
   SITE SYSTEM TOKENS - the one page grid and heading scale (visual audit 2026-11-02)

   Every page family on the marketing site reads its gutter and its heading sizes
   from here. Before this file there were four page widths at 1440px: 1200 (header,
   home, shop), 1296 (a 5vw gutter on the Studio-look, company, legal, blog and
   category pages), 1232 (the old 1280px .hz-container) and one-offs, so the content
   edge jumped against the logo from page to page. Audit, measurements and the
   before/after captures: docs/research/visual-audit-2026-11-02/.

   THE GRID
   --hz-page-max   1200px content column, the width the masthead has always used.
   --hz-gutter     side padding for a FULL-WIDTH section: half of whatever is left
                   over beside the 1200px column, never less than 24px; 22px at
                   600px and below (the masthead's own phone inset).
                   ⚠️ It holds a percentage, which resolves against the element that
                   USES it. Put it on full-width sections only (padding-inline of a
                   section whose parent spans the page). Inside a narrower box it
                   computes against that box.
   A boxed wrapper (.hz-container and friends) gets the same geometry from
   max-width: var(--hz-page-boxed) plus padding-inline: var(--hz-gutter-min).

   THE HEADINGS (Playfair Display 500, ink #f6f3ef, em in violet italic)
   page scale      --hz-h1 / --hz-h2 / --hz-h3: every marketing, service, company,
                   blog index, category, shop and utility page.
   document scale  --hz-doc-h1 / --hz-doc-h2 / --hz-doc-h3: long reading documents
                   (articles, policy bodies, team biographies), where a 56px H2
                   every few paragraphs would be shouting. Same face, weight,
                   tracking and colour; smaller sizes. That is the recorded reason
                   these differ.

   ⛔ The home hero is a decision (full-bleed video, cards below, no 100vw): this
   file only gives home the same gutter it already had. Never add width here.
   ============================================================================= */
:root {
	--hz-page-max: 1200px;
	--hz-gutter-min: 24px;
	--hz-gutter: max(var(--hz-gutter-min), calc((100% - var(--hz-page-max)) / 2));
	--hz-page-boxed: calc(var(--hz-page-max) + 2 * var(--hz-gutter-min));

	--hz-heading-ink: #f6f3ef;
	--hz-heading-em: #b5a0ef;
	--hz-heading-face: 'Playfair Display', 'Playfair Display Fallback', Georgia, serif;
	--hz-heading-weight: 500;
	--hz-heading-lh: 1.12;
	--hz-heading-ls: -.035em;

	--hz-h1: clamp(44px, 5.25vw, 82px);
	--hz-h2: clamp(32px, 3.5vw, 56px);
	--hz-h3: clamp(24px, 2vw, 30px);

	--hz-doc-h1: clamp(36px, 3.6vw, 56px);
	--hz-doc-h2: clamp(28px, 2.4vw, 38px);
	--hz-doc-h3: clamp(22px, 1.7vw, 26px);
}
@media (max-width: 800px) {
	:root { --hz-h1: clamp(42px, 8vw, 66px); }
}
@media (max-width: 600px) {
	:root { --hz-gutter-min: 22px; --hz-gutter: 22px; }
}
@media (max-width: 360px) {
	:root { --hz-h1: 38px; }
}
