/* Home (/), v5 — Oct 20, 2026, overnight build C (branch site-home-place). Tokens only (static/pilf.css › :root); type sizes are DESIGN.md's type
   styles. Loaded by templates/home.html only. The sections pilf.css already styles (the steps, Why "PILF"?, the band, the lists, the FAQs) keep
   their rules; this file adds the hero's lockup and calls, the plants paragraph, the Matrix 2×2 and the business band [C]. */

/* ── the hero: the wordmark a size up, the subtext in the eyebrow style [M Oct 20, home-hero-line] ── */
.hm-hero .hero-wm { width: min(80vw, calc(var(--measure) * .56)); }
.hm-hero .hero-sub { font-size: var(--t-label); letter-spacing: .24em; margin-top: 0; }
@media (min-width: 1024px) { .hm-hero .hero-wm { width: calc(var(--measure) * .75); } }

/* the calls [M Oct 20, home-button → §9.12]: one forest button and one text link, side by side when they fit */
.hm-calls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-2); }
.hm-calls .hm-go { width: auto; padding-inline: var(--gutter); border-color: var(--on-forest); }
.hm-calls .hm-go:focus-visible { outline-color: var(--focus-on-forest); }
.hm-calls .hm-how { color: var(--on-forest); min-height: var(--tap); display: inline-flex; align-items: center; gap: var(--space-1); text-decoration: underline; text-decoration-color: var(--on-forest); text-underline-offset: .24em; }
.hm-calls .hm-how:hover { color: var(--on-forest); text-decoration-thickness: 2px; }
.hm-calls .hm-how:focus-visible { outline-color: var(--focus-on-forest); }

/* ── the plants paragraph [M Oct 20, home-plants]: the same words; the promises in bold, the last line pulled out in the editorial face ── */
.hm-lead { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--measure); }
.hm-lead .lead b { font-weight: 500; color: var(--ink); }
.hm-pull { font-family: var(--font-editorial); font-variation-settings: "SOFT" 0, "WONK" 0; font-style: italic; font-weight: 300; font-size: var(--t-ed); line-height: 1.25;
  color: var(--forest); border-left: 2px solid var(--sage); padding: var(--space-1) 0 var(--space-1) var(--space-4); text-wrap: balance; }

/* ── the Matrix, a basic 2×2 [M Oct 20, home-matrix]: drawn like the tag ── */
.hm-mx { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.hm-mx .h2 { max-width: 16ch; }
.hm-mx-fig { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-2); row-gap: var(--space-1);
  width: 100%; max-width: calc(var(--measure) * .7); color: var(--ink); text-decoration: none; }
.hm-mx-fig:hover { color: var(--ink); }
.hm-mx-map { display: block; width: 100%; height: auto; grid-column: 2; grid-row: 1; }
.hm-mx-y { grid-column: 1; grid-row: 1; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; justify-content: space-between; align-items: center; }
.hm-mx-x { grid-column: 2; grid-row: 2; display: flex; justify-content: space-between; align-items: center; }
.hm-mx-y span, .hm-mx-x span { font-family: var(--font-name); font-size: var(--t-label); line-height: 1.2; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-66); }
.hm-mx-y .t, .hm-mx-x .t { color: var(--ink); }
.hm-mx-map .fr { fill: none; stroke: var(--ink-30); stroke-width: 1; }
.hm-mx-map .mid { fill: none; stroke: var(--ink-30); stroke-width: 1; stroke-dasharray: 3 4; }
.hm-mx-map .em { color: var(--ink-45); }
.hm-mx-map .em text { fill: var(--ink-66); font-family: var(--font-name); font-size: var(--t-label); font-weight: 600; letter-spacing: .18em; }
.hm-mx-map .d { stroke: var(--ground); stroke-width: 1; }
.hm-mx-map .d-forever { fill: var(--corner-forever); }
.hm-mx-map .d-friend { fill: var(--corner-friend); }
.hm-mx-map .d-fling { fill: var(--corner-fling); }
.hm-mx-map .d-foe { fill: var(--corner-foe); }
@media (hover: hover) and (pointer: fine) {
  .hm-mx-map .d { transition: transform var(--dur-beat) var(--ease-settle); transform-box: fill-box; transform-origin: center; }
  .hm-mx-fig:hover .hm-mx-map .d { transform: scale(1.25); }
}

/* ── the business band [M Oct 20, home-business]: forest, the photo beside it, three numbered points ── */
.hm-biz { background: var(--forest); color: var(--on-forest); }
.hm-biz-in { display: flex; flex-direction: column; max-width: var(--grid); margin: 0 auto; }
.hm-biz-ph { aspect-ratio: 16 / 9; overflow: hidden; }
.hm-biz-ph img, .hm-biz-ph picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-biz-tx { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) var(--gutter) var(--space-7); }
.hm-biz-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.hm-biz .lbl { color: var(--on-forest); opacity: .8; }
.hm-biz .biz-live { color: var(--on-forest); background: color-mix(in srgb, var(--on-forest) 12%, transparent); }
.hm-biz .biz-live i { background: var(--on-forest); }
.hm-biz .h2 { color: var(--on-forest); }
.hm-biz-pts { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, var(--on-forest) 25%, transparent); }
.hm-biz-pts li { display: grid; grid-template-columns: var(--space-7) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-4); align-items: center;
  padding-block: var(--space-4); border-bottom: 1px solid color-mix(in srgb, var(--on-forest) 25%, transparent); }
.hm-biz-ic { grid-row: 1 / span 2; width: var(--space-7); height: var(--space-7); display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--on-forest) 40%, transparent); }
.hm-biz-ic .ic { width: var(--space-6); height: var(--space-6); color: var(--on-forest); }
.hm-biz-n { font-family: var(--font-name); font-size: var(--t-label); line-height: 1.2; font-weight: 600; letter-spacing: .18em; color: var(--sage); align-self: end; }
.hm-biz-pts p { font-size: var(--t-body); line-height: 1.55; font-weight: 300; align-self: start; }
.hm-biz-pts b { font-family: var(--font-name); font-weight: 600; }
.hm-biz-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--gutter); margin-top: var(--space-2); }
.hm-biz-act .btn { width: auto; padding-inline: var(--gutter); }
.hm-biz-act .btn:focus-visible, .hm-biz-act .textlink:focus-visible { outline-color: var(--focus-on-forest); }
.hm-biz-act .textlink { color: var(--on-forest); min-height: var(--tap); display: inline-flex; align-items: center; text-decoration: none; }   /* the one link style: the arrow, no underline [M Oct 26 3:02 PM, site call 1] */
.hm-biz-act .textlink:hover { color: var(--on-forest); text-decoration-color: var(--on-forest); }
@media (min-width: 760px) {
  .hm-biz-pts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); border-top: 0; }
  .hm-biz-pts li { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: var(--space-3); align-items: start; border-bottom: 0;
    border-top: 1px solid color-mix(in srgb, var(--on-forest) 25%, transparent); padding-top: var(--space-4); }
  .hm-biz-ic { grid-row: auto; }
  .hm-biz-n { align-self: start; }
}
@media (min-width: 1024px) {
  .hm-biz-in { flex-direction: row; align-items: stretch; }
  .hm-biz-ph { aspect-ratio: auto; flex: 0 0 40%; }
  .hm-biz-tx { flex: 1; padding: var(--space-8) var(--space-7); justify-content: center; }
}

/* the 2×2 on a laptop: the words on the left, the picture on the right [C] */
@media (min-width: 1024px) {
  .hm-mx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--space-8); align-items: start; }
  .hm-mx > .lbl, .hm-mx > .h2, .hm-mx > .textlink { grid-column: 1; }
  .hm-mx > .h2 { max-width: 12ch; }
  .hm-mx-fig { grid-column: 2; grid-row: 1 / span 3; }
}

/* home-hero calls [M Oct 22, Hero Paths; C build]: two buttons of one shape, forest and outline; How to PILF opens a small card of the four step icons. Tokens only */
.hm-calls .hm-explain { display: contents; }
.hm-calls .hm-how-btn { list-style: none; width: auto; padding-inline: var(--gutter); background: transparent; border-color: var(--on-forest); color: var(--on-forest); cursor: pointer; }
.hm-calls .hm-how-btn::-webkit-details-marker { display: none; }
.hm-calls .hm-how-btn:hover { background: var(--on-forest); color: var(--forest); }
.hm-calls .hm-how-btn:focus-visible { outline-color: var(--focus-on-forest); }
.hm-explain[open] .hm-how-btn { background: var(--on-forest); color: var(--forest); }
.hm-box { flex-basis: 100%; max-width: 420px; background: var(--ground); color: var(--ink); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); text-align: center; }
.hm-steps li { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); min-width: 0; }
.hm-steps .hm-ic { width: 36px; height: 36px; color: var(--forest); }
.hm-steps b { font-family: var(--font-name); font-weight: 600; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); }
.hm-steps span { font-size: var(--t-label); line-height: 1.3; color: var(--ink-66); }
.hm-box .textlink { color: var(--forest); align-self: flex-start; }
.hm-calls { column-gap: var(--space-2); max-width: 420px; }
.hm-calls .hm-go, .hm-calls .hm-how-btn { flex: 1 1 0; justify-content: center; text-align: center; padding-inline: var(--space-3); }
.hm-pilfer { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--ink-75); }
.hm-pilfer b { font-family: var(--font-name); font-weight: 600; color: var(--forest); }

/* brand-1023 ── home's map is templates/_brand.html › matrix_map now [M Oct 23 owner2-11; C brand-1023] */
.hm-mx-fig { display: block; }

/* D4-09 [M Oct 25]: the plants band, calmer: one weight in the lead, one drawing */
.hm-plants-d { color: var(--forest); width: var(--space-8); }
.hm-plants-d .b-dr { height: auto; }
.hm-plants-d svg { width: 100%; height: auto; }
/* D4-02: the coffee-shop line leads the hero, its subline under it */
.hm-hero .hm-sub { font-size: var(--t-strong); opacity: .9; }
/* D4-05 [M Oct 25]: side by side where both labels fit, each full width the moment one would wrap */
.hm-calls { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hm-calls > .btn { flex: 1 1 auto; white-space: nowrap; }
/* D4-06: the pilfer line over the icon row */
.sec-steps .hm-pilfer { max-width: var(--measure); margin: 0; }

/* [M Oct 26 3:35 AM] the drawing at the section's foot, beside the quiz link */
.hm-plants-end { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); max-width: var(--measure); }
.hm-plants-end .textlink { margin: 0; align-self: flex-end; }

/* the type budget on home [M Oct 26 3:44 AM]: the eight roles plus home's one display (the hero line). Was 31 styles. The list counts
   ("17 plants") and the partner band's 01-03 numerals go: decoration and numbers nobody needs (notes/taste.md 2) */
.pg-home .hm-biz-n { display: none; }   /* the list counts are back [M Oct 26 5:32 PM: "I liked when we had the '17 plants' next to the lists"] */
.pg-home .s4-w { font-family: var(--font-name); font-size: var(--t-strong); font-weight: 600; letter-spacing: 0; text-transform: none; }
.pg-home .s4-l { font-family: var(--font-body); font-size: var(--t-small); font-weight: 400; font-style: normal; letter-spacing: 0; }
.pg-home .big2 { font-size: var(--t-title); }
.pg-home .lead, .pg-home .hm-pilfer, .pg-home .hm-biz p, .pg-home .sec-faq .body p { font-family: var(--font-body); font-size: var(--t-body); line-height: 1.5; font-weight: 300; }
.pg-home .hm-pilfer b, .pg-home .hm-biz p b, .pg-home .ans-lead { font-family: inherit; font-weight: 500; }
.pg-home .hm-pull { font-size: var(--t-ed); }
.pg-home .mag-more, .pg-home .sec-faq summary { font-family: var(--font-name); font-size: var(--t-strong); font-weight: 600; letter-spacing: 0; }
.pg-home .biz-live { font-family: var(--font-body); font-size: var(--t-small); font-weight: 400; letter-spacing: 0; text-transform: none; }
.hm-biz-ic svg { width: var(--space-6); height: var(--space-6); }   /* the three icons one size */
/* the Forever list stays "big and beautiful, our flagship" (D5-17): its name a title; its tagline the same upright line as the rest (picks below) */
/* the businesses band's first icon (the shop front) is one of the steps' drawn-on icons; nothing here draws it in, so it sat as a stub beside two finished
   icons. Here it stands drawn, like its neighbours [C, the Oct 26 5 AM check] */
.js .hm-biz-ic .ic:not(.in) .ic-draw { stroke-dashoffset: 0; }
/* D4-05 "Stack the buttons full width on narrow screens": at 374 px and under (a 360 px Android, an SE) each button takes the full width */
@media (max-width: 374px) { .hm-calls > .btn { flex-basis: 100%; } }
