/* ============================================================
   assets/css/home-article.css — artykuły Home_ (pakiety Claude Design, HOME-PLAN.md)
   .sh-g graphics from smartandi-home-pack-01 (sizes mapped to --fs-* tokens), beige re-skin of st-*,
   end-of-post CTA (.post-cta) + inline product card (.sh-produkt) from docs/mockups/home-cta/ (owners OK 11.10.2026).
   ============================================================ */
/* ── Shared shell for all Home_ article graphics (.sh-g) ─────────────────
   Tint + faint 5 cm grid, eyebrow + Playfair headline, stage.
   ≤ 639 px: edge to edge, text on top, stage below (max 350 px).
   ≥ 640 px: rounded card inside the 720 px column, text left, stage 385 px right.
   .sh-g--stack keeps text above the stage on desktop too (wide strips).
   .sh-g--hero = no vertical margin (the theme moves it above the title).        */
.sh-g {
  box-sizing: border-box; display: flex; flex-direction: column; gap: var(--sp-4);
  margin: var(--sp-8) 0; padding: var(--sp-6) var(--sp-5);
  background-color: var(--pillar-home-tint);
  background-image: linear-gradient(rgba(139,91,47,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(139,91,47,.08) 1px, transparent 1px);
  background-size: 24px 24px; color: var(--ink);
}
.sh-g--hero { margin: 0 0 var(--sp-8); }
.sh-g p { margin: 0; }
.sh-g__text { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.sh-g__eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-label); line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--pillar-home-ink); }
.sh-g__headline { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-stat); line-height: 1.15; color: var(--ink); }
.sh-g__note { font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.4; letter-spacing: .04em; color: var(--pillar-home-ink); }
.sh-g__stage { width: 100%; max-width: 350px; margin: 0 auto; min-width: 0; }
.sh-g__stage svg { display: block; width: 100%; height: auto; overflow: visible; }

@media (max-width: 639px) {
  .sh-g { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
}
@media (min-width: 640px) {
  .sh-g { display: grid; grid-template-columns: minmax(0, 1fr) 385px; gap: var(--sp-6); align-items: center; border-radius: var(--radius-xl); padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-10); }
  .sh-g__headline { font-size: var(--fs-stat); }
  .sh-g__stage { max-width: 385px; }
  .sh-g--stack { display: flex; }
  .sh-g--stack .sh-g__stage { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-g *, .sh-g *::before { transition: none !important; animation: none !important; }
}

/* [sh_front] – hero "Wyślij rysunek. Odbierz fronty." (needs .sh-g base).
   Steps: is-1 drawing + dimensions + tick 1 · is-2 tick 2 · is-3 veneer wipes in + tick 3.
   Default markup = is-1 is-2 is-3 (final). Reset (no is-1 while animating) jumps without transitions. */
.sh-front svg text { font-family: var(--font-mono); }
.sh-front__tb text { font-weight: 500; }
.sh-front__tb text:first-of-type { font-weight: 700; }
.sh-front__lbl text { font-size: 13px; letter-spacing: 1px; fill: var(--pillar-home-ink); }
.sh-front__num circle { fill: #fff; stroke: var(--pillar-home); stroke-width: 1.2; }
.sh-front__num text { font-size: 13px; font-weight: 700; fill: var(--pillar-home-ink); text-anchor: middle; }
.sh-front__tick circle { fill: var(--pillar-home); }
.sh-front__tick path { stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sh-front__k text { font-size: 13px; font-weight: 700; letter-spacing: 1px; fill: var(--ink); }
.sh-front .sh-front__d text { font-family: var(--font-body); font-size: 13px; fill: var(--pillar-home-ink); }

.sh-front__outline, .sh-front__dim { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--ease); }
.sh-front__dim { transition-delay: 300ms; }
.sh-front__lbl { transition: opacity 250ms ease 600ms; }
.sh-front__tick { opacity: 0; transition: opacity 200ms ease; }
.sh-front__tick--1 { transition-delay: 700ms; }
.sh-front__veneer { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform 650ms cubic-bezier(.6,0,.3,1); }
.sh-front__tick--3 { transition-delay: 600ms; }

.sh-front.is-1 .sh-front__tick--1, .sh-front.is-2 .sh-front__tick--2, .sh-front.is-3 .sh-front__tick--3 { opacity: 1; }
.sh-front.is-3 .sh-front__veneer { transform: none; }
.sh-front.is-animating:not(.is-1) .sh-front__outline,
.sh-front.is-animating:not(.is-1) .sh-front__dim { stroke-dashoffset: 1; opacity: 0; }
.sh-front.is-animating:not(.is-1) .sh-front__lbl { opacity: 0; }
.sh-front.is-animating:not(.is-1) * { transition: none; }

@media (min-width: 640px) {
  .sh-front .sh-g__text { align-self: stretch; justify-content: center; }
}

/* [sh_koszt] – "Kuchnia jak od stolarza. Bez ceny stolarza." in "Dlaczego fronty to klucz…".
   Steps: is-1 carpenters' range appears · is-2 our bar grows + counter 0 → 16 · is-3 dimension line "min. 9 tys." draws.
   The counter is a registered integer property; browsers without @property just show 16. */
@property --sh-koszt-n { syntax: '<integer>'; inherits: false; initial-value: 16; }
.sh-koszt__card { box-sizing: border-box; background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--elev-2); padding: var(--sp-5) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: 6px; }
.sh-koszt__label { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--pillar-home-ink); }
.sh-koszt__big { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.sh-koszt__big small { font-size: var(--fs-title); }
.sh-koszt__num { --sh-koszt-n: 16; counter-reset: shk var(--sh-koszt-n); transition: --sh-koszt-n 900ms var(--ease-out); }
.sh-koszt__num::before { content: counter(shk); }
.sh-koszt svg { margin-top: 8px; }
.sh-koszt svg text { font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; }
.sh-koszt svg .k { font-weight: 700; fill: var(--ink); }
.sh-koszt svg .v { fill: var(--pillar-home-ink); }
.sh-koszt svg .b { font-weight: 700; }
.sh-koszt svg .ax text { fill: var(--ink-2); text-anchor: middle; }

.sh-koszt__r1 { transition: opacity 300ms ease, transform 300ms ease; }
.sh-koszt__bar { fill: var(--pillar-home); transform-box: fill-box; transform-origin: 0 50%; transition: transform 900ms var(--ease-out); }
.sh-koszt__dim { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease), opacity 100ms ease; }
.sh-koszt__big { transition: opacity 200ms ease; }
.sh-koszt__lbl { transition: opacity 250ms ease 400ms; }

.sh-koszt.is-animating:not(.is-1) .sh-koszt__r1 { opacity: 0; transform: translateX(8px); }
.sh-koszt.is-animating:not(.is-2) .sh-koszt__bar { transform: scaleX(0); }
.sh-koszt.is-animating:not(.is-2) .sh-koszt__num { --sh-koszt-n: 0; }
.sh-koszt.is-animating:not(.is-3) .sh-koszt__dim { stroke-dashoffset: 1; opacity: 0; }
.sh-koszt.is-animating:not(.is-2) .sh-koszt__big { opacity: .25; }
.sh-koszt.is-animating:not(.is-3) .sh-koszt__lbl { opacity: 0; }
.sh-koszt.is-animating:not(.is-1) * { transition: none; }

/* [sh_kroki] – step strip "Plan → Lista frontów → Rysunki → Wycena → Montaż" in "Jak zamówić fronty… krok po kroku".
   Cumulative is-1 … is-5: disc N filled, the walnut line grows to it, caption N shows (is-N and not is-N+1).
   Default markup = all five done, caption 5. Text is HTML (crisp at any width); no SVG. */
.sh-kroki__row { position: relative; }
.sh-kroki__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.sh-kroki__list li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); text-align: center; margin: 0; padding: 0; }
.sh-kroki__list li::marker { content: none; }
.sh-kroki__disc { box-sizing: border-box; width: 36px; height: 36px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--bg-surface); box-shadow: inset 0 0 0 1.5px var(--pillar-home); font: 700 var(--fs-small)/1 var(--font-mono); color: var(--pillar-home-ink); transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--ease-spring); }
.sh-kroki__name { font: 500 var(--fs-label)/1.25 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere; }
.sh-kroki__track { position: absolute; z-index: 0; left: 10%; right: 10%; top: 17px; height: 2px; background-image: linear-gradient(90deg, var(--ink-3) 50%, transparent 50%); background-size: 8px 2px; }
.sh-kroki__fill { position: absolute; inset: 0; background: var(--pillar-home); transform-origin: 0 50%; transform: scaleX(1); transition: transform 500ms var(--ease); }
.sh-kroki__caps { display: grid; margin-top: var(--sp-5); min-height: 3em; }
.sh-kroki__cap { grid-area: 1 / 1; font-size: var(--fs-body); line-height: 1.45; font-weight: 600; text-align: center; opacity: 0; transition: opacity 200ms ease; }

.sh-kroki.is-1 li:nth-child(1) .sh-kroki__disc, .sh-kroki.is-2 li:nth-child(2) .sh-kroki__disc, .sh-kroki.is-3 li:nth-child(3) .sh-kroki__disc,
.sh-kroki.is-4 li:nth-child(4) .sh-kroki__disc, .sh-kroki.is-5 li:nth-child(5) .sh-kroki__disc { background: var(--pillar-home); color: #fff; }
.sh-kroki.is-cur-1 li:nth-child(1) .sh-kroki__disc, .sh-kroki.is-cur-2 li:nth-child(2) .sh-kroki__disc, .sh-kroki.is-cur-3 li:nth-child(3) .sh-kroki__disc,
.sh-kroki.is-cur-4 li:nth-child(4) .sh-kroki__disc, .sh-kroki.is-cur-5 li:nth-child(5) .sh-kroki__disc { transform: scale(1.15); }
.sh-kroki.is-animating:not(.is-2) .sh-kroki__fill { transform: scaleX(0); }
.sh-kroki.is-2:not(.is-3) .sh-kroki__fill { transform: scaleX(.25); }
.sh-kroki.is-3:not(.is-4) .sh-kroki__fill { transform: scaleX(.5); }
.sh-kroki.is-4:not(.is-5) .sh-kroki__fill { transform: scaleX(.75); }
.sh-kroki.is-1:not(.is-2) .sh-kroki__cap--1, .sh-kroki.is-2:not(.is-3) .sh-kroki__cap--2, .sh-kroki.is-3:not(.is-4) .sh-kroki__cap--3,
.sh-kroki.is-4:not(.is-5) .sh-kroki__cap--4, .sh-kroki.is-5 .sh-kroki__cap--5 { opacity: 1; }
.sh-kroki.is-animating:not(.is-1) * { transition: none; }

@media (min-width: 640px) {
  .sh-kroki__disc { width: 44px; height: 44px; font-size: var(--fs-ui); }
  .sh-kroki__track { top: 21px; }
  .sh-kroki__name { font-size: var(--fs-label); }
}

/* [sh_material] – "Ten sam korpus. Dowolny front." in "Z jakiego materiału zamówić fronty".
   Root data-mat = fornir | lakier | akryl | laminat. The carcasses never change, only the front layer.
   Autoplays every 1.6 s until the first tap; then the reader drives it with the 4 buttons (≥ 44 px).
   No JS: fornir (our choice) is shown and the price line lists fornir. */
.sh-material__m { opacity: 0; transition: opacity 300ms ease; }
.sh-material[data-mat="fornir"] .sh-material__m--fornir,
.sh-material[data-mat="lakier"] .sh-material__m--lakier,
.sh-material[data-mat="akryl"] .sh-material__m--akryl,
.sh-material[data-mat="laminat"] .sh-material__m--laminat { opacity: 1; }
.sh-material__chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: var(--sp-4); }
.sh-material__chips button {
  min-height: 44px; padding: 4px; border: 0; border-radius: var(--radius-md); cursor: pointer;
  background: var(--bg-surface); box-shadow: var(--elev-1); color: var(--ink);
  font: 500 var(--fs-label)/1.15 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}
.sh-material__chips button[aria-pressed="true"] { background: var(--pillar-home); color: #fff; box-shadow: none; }
.sh-material__chips button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sh-material__price { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); margin-top: var(--sp-3) !important; font-family: var(--font-mono); font-size: var(--fs-small); letter-spacing: .06em; text-transform: uppercase; color: var(--pillar-home-ink); }
.sh-material__price b { font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: .02em; font-size: var(--fs-ui); }

/* [sh_szczelina] – "Regulacja zawiasu. I równo." under H3 "Nierówne szczeliny".
   0: right front hangs crooked (rotated 2° around its top-right corner), status ✗ · is-1: screwdriver turns · is-2: front back in line, gap ticks, status ✓.
   Default markup = is-1 is-2 (fixed state). */
.sh-szczelina svg text { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; fill: var(--pillar-home-ink); text-anchor: middle; }
.sh-szczelina__door { transform-box: fill-box; transform-origin: 100% 0; transform: none; transition: transform 450ms var(--ease-spring); }
.sh-szczelina__turn { transform-box: fill-box; transform-origin: 50% 50%; transform: rotate(360deg); transition: transform 700ms var(--ease); }
.sh-szczelina__ticks { opacity: 1; transition: opacity 200ms ease 300ms; }
.sh-szczelina__chip { display: grid; justify-items: center; margin-top: var(--sp-3) !important; font: 700 var(--fs-small)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.sh-szczelina__chip span { grid-area: 1 / 1; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--bg-surface); box-shadow: var(--elev-1); transition: opacity 200ms ease; }
.sh-szczelina__bad { color: var(--sale); opacity: 0; }
.sh-szczelina__good { color: var(--forest); }

.sh-szczelina.is-animating:not(.is-2) .sh-szczelina__door { transform: rotate(2deg); }
.sh-szczelina.is-animating:not(.is-2) .sh-szczelina__ticks { opacity: 0; }
.sh-szczelina.is-animating:not(.is-2) .sh-szczelina__good { opacity: 0; }
.sh-szczelina.is-animating:not(.is-2) .sh-szczelina__bad { opacity: 1; }
.sh-szczelina.is-animating:not(.is-1) .sh-szczelina__turn { transform: none; }
.sh-szczelina.is-animating:not(.is-1) * { transition: none; }

/* ── .st-article--home: shared st-* blocks (tech-article.css) re-skinned beige ── */
.st-article--home a { color: var(--forest); }
.st-article--home .st-kicker, .st-article--home .st-costs td:last-child, .st-article--home .st-faq summary::after { color: var(--pillar-home-ink); }
.st-article--home .st-answer, .st-article--home .st-costs tr:first-child td,
.st-article--home .wp-block-table:not(.st-costs) th, .st-article--home .wp-block-table:not(.st-costs) th:first-child { background: var(--pillar-home-tint); }
.st-article--home .st-photo-todo { background: var(--pillar-home-tint); color: var(--pillar-home-ink); }
.st-article--home .st-next a { background: var(--pillar-home-tint); color: var(--ink); }
.st-article--home .st-next a::before { color: var(--pillar-home-ink); }
.st-article--home .st-next a:hover { color: var(--ink); }


/* ── End-of-post CTA ─────────────────────────────────────── */
.post-cta {
  position: relative;
  margin-top: var(--sp-12);
  padding: var(--sp-8);
  border-radius: var(--radius-xl);
  background-color: var(--pillar-home-tint);
  /* faint 5 cm "drawing grid" */
  background-image:
    linear-gradient(rgba(139, 91, 47, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 91, 47, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: var(--elev-2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-6) var(--sp-8);
  align-items: center;
  overflow: hidden;
}
.post-cta__eyebrow {
  display: block;
  font: 500 var(--fs-label)/1.5 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pillar-home-ink);
  margin-bottom: var(--sp-2);
}
.post-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-title);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
.post-cta__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.post-cta__list li {
  position: relative;
  padding-left: 26px;
  font: 400 var(--fs-ui)/1.45 var(--font-body);
  color: var(--ink);
}
.post-cta__list li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}
.post-cta__buy {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
  padding: var(--sp-5);
  min-width: 240px;
  display: grid;
  gap: var(--sp-3);
  justify-items: start;
}
.post-cta__buy .btn { width: 100%; justify-content: center; min-height: 44px; }
.post-cta__buy .price-note { margin-top: 0; }
.post-cta__from { font: 500 var(--fs-small)/1 var(--font-body); color: var(--ink-2); margin-right: 4px; }
.post-cta__alt {
  grid-column: 1 / -1;
  font: 500 var(--fs-small)/1.4 var(--font-body);
  color: var(--ink-2);
  margin: 0;
}
.post-cta__alt a { color: var(--ink); text-underline-offset: 3px; }

/* blueprint line art in the corner (decorative) */
.post-cta__art {
  position: absolute; right: 8px; bottom: 4px;
  width: 132px; height: 92px;
  opacity: .9; pointer-events: none;
}
.post-cta__art path, .post-cta__art rect, .post-cta__art line { stroke: var(--pillar-home); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.post-cta__buy { position: relative; z-index: 1; }
.post-cta__art .dim { stroke-dasharray: 60; stroke-dashoffset: 60; animation: cta-dim 1.2s .4s ease-out forwards; }
@keyframes cta-dim { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .post-cta__art .dim { animation: none; stroke-dashoffset: 0; } }

@media (max-width: 639px) {
  .post-cta { grid-template-columns: 1fr; padding: var(--sp-6) var(--sp-5); }
  .post-cta__buy { min-width: 0; width: 100%; }
  .post-cta__art { display: none; }
}

/* ── Inline product card [sh_produkt] ────────────────────── */
.sh-produkt {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  margin: var(--sp-8) 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
}
.sh-produkt__thumb {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: var(--pillar-home-tint);
  display: grid; place-items: center;
}
.sh-produkt__thumb svg rect, .sh-produkt__thumb svg line, .sh-produkt__thumb svg path { stroke: var(--pillar-home); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.sh-produkt__name { display: block; font: 600 var(--fs-ui)/1.3 var(--font-body); color: var(--ink); }
.sh-produkt__desc { display: block; font: 400 var(--fs-small)/1.4 var(--font-body); color: var(--ink-2); margin-top: 2px; }
.sh-produkt__price { display: block; margin-top: var(--sp-1); }
.sh-produkt__price .product-card__price { font-size: var(--fs-title-sm); }
.sh-produkt .btn { min-height: 44px; white-space: nowrap; }
.post-content .sh-produkt a.btn, .post-content .sh-produkt a.btn:hover { color: #fff; text-decoration: none; }

@media (max-width: 639px) {
  .sh-produkt { grid-template-columns: 56px 1fr; }
  .sh-produkt__thumb { width: 56px; height: 56px; }
  .sh-produkt .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}

/* Post typography (.post-content ol/li, pages.css) must not restyle the graphics' own lists. */
.post-content .sh-kroki__list { display: grid; flex-direction: initial; gap: 0; margin: 0; padding: 0; }
.post-content .sh-kroki__list li { list-style: none; margin: 0; padding: 0; }
.post-content .sh-g p { margin: 0; }

/* ── Pack-02 (batch H1): [sh_pax] [sh_sufit] [sh_arkusz] [sh_narzedzia] ─────────────
   Geometry from inc/home-gfx (scripts/build_home_gfx.py). Desktop vs phone drawing: .sh-v--d / .sh-v--m.
   Motion: .sh-an plays once (--t duration, --d delay); data-sh-once pauses it until the block is on screen. */
.sh-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sh-g .sh-v--m { display: none; }
@media (max-width: 639px) { .sh-g .sh-v--d { display: none; } .sh-g .sh-v--m { display: block; } }
.sh-m { font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; }
.sh-m--t { letter-spacing: .06em; }
.sh-j { font-family: var(--font-body); font-weight: 600; }

@keyframes sh-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sh-grow { from { transform: scaleY(.77); } to { transform: scaleY(1); } }
@keyframes sh-grow-pax { from { transform: scaleY(.91); } to { transform: scaleY(1); } }
.sh-an { animation-duration: var(--t, 1s); animation-delay: var(--d, 0s); animation-fill-mode: both; animation-timing-function: ease-out; }
.sh-an--draw { stroke-dasharray: 1; animation-name: sh-draw; }
.sh-an--fade { animation-name: sh-fade; }
.sh-an--grow, .sh-an--growpax { transform-box: fill-box; transform-origin: 50% 100%; animation-timing-function: cubic-bezier(.3,.1,.2,1); }
.sh-an--grow { animation-name: sh-grow; }
.sh-an--growpax { animation-name: sh-grow-pax; }
.is-armed:not(.is-in) .sh-an { animation-play-state: paused; }

/* Wide drawings: text above, drawing centred (desktop 520 px keeps 14 px labels ≥ 12 px). */
.sh-g--draw .sh-g__stage { position: relative; }
.sh-pax .sh-g__stage, .sh-sufit:not(.sh-sufit--pax) .sh-g__stage { max-width: 520px; }
.sh-sufit--pax .sh-g__stage svg { max-width: 340px; margin: 0 auto; }
.sh-sufit__cols { display: flex; flex-direction: column; gap: var(--sp-3); }
.sh-sufit__col { display: flex; flex-direction: column; gap: var(--sp-1); }
.sh-sufit__lbl { font: 600 var(--fs-ui)/1.3 var(--font-body); text-align: center; color: var(--ink); }

/* [sh_arkusz]: sheet + numbered list. Tap a number to highlight its zone (outline only for 1 · Ramka ISO). */
.sh-g--wide .sh-g__stage { position: relative; max-width: none; display: flex; flex-direction: column; gap: var(--sp-5); }
@media (min-width: 640px) { .sh-g--wide { padding: var(--sp-6); } }
.sh-arkusz__zone { display: none; fill: rgba(139,91,47,.14); stroke: var(--pillar-home); stroke-width: 3; }
.sh-arkusz__zone--line { fill: none; }
.sh-arkusz__zone.is-on { display: inline; }
.sh-arkusz__disc { cursor: pointer; }
.sh-arkusz__disc circle { fill: var(--pillar-home); }
.sh-arkusz__disc.is-on circle { fill: var(--ink); }
.sh-arkusz__disc text { font-family: var(--font-mono); font-weight: 700; fill: #fff; text-anchor: middle; pointer-events: none; }
.sh-arkusz__discs--m { display: none; }
.sh-arkusz__list, .post-content .sh-arkusz__list { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 6px var(--sp-3); margin: 0; padding: 0; list-style: none; }
.post-content .sh-arkusz__list li { list-style: none; margin: 0; padding: 0; }
.sh-arkusz__list button { display: flex; gap: var(--sp-3); align-items: center; width: 100%; min-height: 44px; padding: 6px var(--sp-3); border: 0; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: var(--elev-1); text-align: left; cursor: pointer; font: 500 var(--fs-ui)/1.3 var(--font-body); color: var(--ink); }
.sh-arkusz__list button[aria-pressed="true"] { background: var(--pillar-home-tint); }
.sh-arkusz__n { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--pillar-home); color: #fff; font: 700 var(--fs-small)/28px var(--font-mono); text-align: center; }
.sh-arkusz__list button[aria-pressed="true"] .sh-arkusz__n { background: var(--ink); }
@media (max-width: 639px) {
  .sh-arkusz__lbl, .sh-arkusz__discs--d { display: none; }
  .sh-arkusz__discs--m { display: inline; }
  .sh-arkusz__list, .post-content .sh-arkusz__list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}

/* [sh_narzedzia]: two cards and an arrow; prices in ink, never walnut. */
.sh-narzedzia__row { display: flex; gap: var(--sp-3); align-items: stretch; }
.sh-narzedzia__card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--bg-surface); box-shadow: var(--elev-2); }
.sh-narzedzia__card svg { display: block; width: 100%; max-width: 220px; align-self: center; }
.sh-narzedzia__k { font: 500 var(--fs-label)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pillar-home-ink); }
.sh-narzedzia__t { font: 700 var(--fs-title-sm)/1.2 var(--font-display); color: var(--ink); }
.sh-narzedzia__card p { font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
.sh-narzedzia__arrow { flex: 0 0 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2); }
.sh-g .sh-narzedzia__arrow svg { width: 96px; }
.sh-g .sh-narzedzia__arrow svg.sh-v--m { width: 16px; }
.sh-narzedzia__arrow span { font: 500 var(--fs-label)/1.4 var(--font-mono); letter-spacing: .06em; color: var(--pillar-home-ink); text-align: center; }
.sh-narzedzia__prices, .post-content .sh-narzedzia__prices { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 4px 0 0; list-style: none; }
.post-content .sh-narzedzia__prices li { list-style: none; margin: 0; padding: 0; }
.sh-narzedzia__prices li { display: flex; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-small); }
.sh-narzedzia__price { font: 500 var(--fs-small)/1.4 var(--font-mono); color: var(--ink); }
.sh-narzedzia__date { font: 500 var(--fs-label)/1.4 var(--font-mono); color: var(--ink-2); }
@media (max-width: 639px) {
  .sh-narzedzia__row { flex-direction: column; }
  .sh-narzedzia__arrow { flex-basis: auto; }
}

/* [sh_pax_przemiana] – hero H23 (Claude Design "PAX · Przemiana", 13.10.2026).
   Phase 0 = :not(.is-1) PAX with a gap · 1 = .is-1:not(.is-2) fronts to the ceiling · 2 = .is-2 drawers (default). */
.sh-przem__sheet { box-sizing: border-box; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-radius: 4px; background: #f8f3eb; box-shadow: 0 10px 30px rgba(44,25,14,.2); }
.post-content .sh-przem__lbl, .sh-przem__lbl { display: grid; margin: 0; font: 500 var(--fs-label)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sh-przem__lbl--top { padding-bottom: 6px; box-shadow: inset 0 -1px #b0a090; }
.sh-przem__lbl--bot { padding-top: 6px; box-shadow: inset 0 1px #b0a090; }
.sh-przem__lbl span { grid-area: 1 / 1; opacity: 0; transition: opacity .5s ease; }
.sh-przem__up { color: var(--pillar-home-ink); }
.sh-przem__box { position: relative; align-self: center; width: 64%; aspect-ratio: 150 / 190; }
.sh-przem__box i { position: absolute; box-sizing: border-box; top: var(--y2); height: var(--h2); }
.sh-przem__ceil { left: 0; right: 0; top: 2.105%; border-top: 1.5px dashed #c8a27c; }
.sh-przem__floor { left: 0; right: 0; top: 98.158%; border-top: 1px solid var(--ink-2); }
.sh-przem__gap { background: #c8a27c; opacity: 0; transition: opacity .6s ease; }
.sh-przem__door, .sh-przem__drawer { border: 1.5px solid var(--ink); transition: top 1s cubic-bezier(.5,0,.2,1), height 1s cubic-bezier(.5,0,.2,1), opacity .6s ease, border-color .8s ease; }
.sh-przem__drawer, .sh-przem__pull { opacity: 1; }
.sh-przem__pull { background: var(--pillar-home); border-radius: 2px; transition: opacity .6s ease; }
.sh-przem__knob { background: var(--pillar-home); border-radius: 999px; transition: top 1s cubic-bezier(.5,0,.2,1), background .8s ease; }
.sh-przem__dim { background: var(--ink-2); transition: opacity .6s ease; }
/* phase labels */
.sh-przem.is-2 .sh-przem__p2, .sh-przem.is-1 .sh-przem__up, .sh-przem.is-1:not(.is-2) .sh-przem__p1,
.sh-przem:not(.is-1) .sh-przem__p0 { opacity: 1; }
/* phase 1: fronts to the ceiling, no drawers */
.sh-przem.is-1:not(.is-2) .sh-przem__box i { top: var(--y1); height: var(--h1); }
/* phase 0: IKEA PAX, muted, gap under the ceiling */
.sh-przem:not(.is-1) .sh-przem__box i { top: var(--y0); height: var(--h0); }
.sh-przem:not(.is-1) .sh-przem__gap { opacity: .35; }
.sh-przem:not(.is-1) .sh-przem__door { border-color: #a08f7e; }
.sh-przem:not(.is-1) .sh-przem__knob { background: #a08f7e; }
.sh-przem:not(.is-1) .sh-przem__dim { opacity: 0; }
.sh-przem:not(.is-2) .sh-przem__drawer { border-width: 0; opacity: 0; }
.sh-przem:not(.is-2) .sh-przem__pull { opacity: 0; }
.sh-przem .sh-przem__box .sh-przem__ceil { top: 2.105%; height: 0; }
.sh-przem .sh-przem__box .sh-przem__floor { top: 98.158%; height: 0; }

/* BEGIN sh_hero (generated by scripts/build_home_heroes.py from pack-03; do not edit by hand) */
.sh-hero .hs-t { transition: opacity .45s ease-out, transform .65s cubic-bezier(.34,1.45,.64,1), stroke-dashoffset .8s ease-out, fill .5s ease-out, stroke .5s; }
.sh-hero.is-animating:not(.is-1) .hs-t { transition: none; }
.sh-hero .hs-pf { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.sh-hero .hs-metod-front-1 { opacity: 0; }
.sh-hero:not(.is-4) .hs-metod-front-1 { opacity: 1; }
.sh-hero .hs-metod-front-2 { stroke-dashoffset: 0; }
.sh-hero:not(.is-1) .hs-metod-front-2 { stroke-dashoffset: 1; }
.sh-hero .hs-metod-front-3 { stroke-dashoffset: 0; }
.sh-hero:not(.is-1) .hs-metod-front-3 { stroke-dashoffset: 1; }
.sh-hero .hs-metod-front-4 { opacity: 1; }
.sh-hero:not(.is-1) .hs-metod-front-4 { opacity: 0; }
.sh-hero .hs-metod-front-5 { transform: translate(0px,0px); }
.sh-hero:not(.is-4) .hs-metod-front-5 { transform: translate(18px,-10px); }
.sh-hero .hs-metod-front-6 { opacity: 1; }
.sh-hero:not(.is-1) .hs-metod-front-6 { opacity: 0; }
.sh-hero .hs-metod-front-7 { transform: scaleX(1); }
.sh-hero:not(.is-2) .hs-metod-front-7 { transform: scaleX(0); }
.sh-hero .hs-metod-front-8 { opacity: 1; }
.sh-hero:not(.is-3) .hs-metod-front-8 { opacity: 0; }
.sh-hero .hs-metod-front-9 { stroke-dashoffset: 0; }
.sh-hero:not(.is-1) .hs-metod-front-9 { stroke-dashoffset: 1; }
.sh-hero .hs-metod-front-10 { transform: scale(1); opacity: 1; }
.sh-hero:not(.is-3) .hs-metod-front-10 { transform: scale(0.3); opacity: 0; }
.sh-hero .hs-pax-drzwi-1 { transform: scaleX(1); }
.sh-hero:not(.is-1) .hs-pax-drzwi-1 { transform: scaleX(0.06); }
.sh-hero .hs-pax-drzwi-2 { fill: #D9BC97; }
.sh-hero:not(.is-4) .hs-pax-drzwi-2 { fill: #FFFFFF; }
.sh-hero .hs-pax-drzwi-3 { transform: scaleX(1); }
.sh-hero:not(.is-2) .hs-pax-drzwi-3 { transform: scaleX(0.06); }
.sh-hero .hs-pax-drzwi-4 { fill: #D9BC97; }
.sh-hero:not(.is-4) .hs-pax-drzwi-4 { fill: #FFFFFF; }
.sh-hero .hs-pax-drzwi-5 { transform: scaleX(1); }
.sh-hero:not(.is-3) .hs-pax-drzwi-5 { transform: scaleX(0.06); }
.sh-hero .hs-pax-drzwi-6 { fill: #D9BC97; }
.sh-hero:not(.is-4) .hs-pax-drzwi-6 { fill: #FFFFFF; }
.sh-hero .hs-rysunki-paczka-1 { transform: scale(0.4); opacity: 0; }
.sh-hero:not(.is-2) .hs-rysunki-paczka-1 { transform: scale(1); opacity: 1; }
.sh-hero .hs-rysunki-paczka-2 { stroke-dashoffset: 0; }
.sh-hero:not(.is-1) .hs-rysunki-paczka-2 { stroke-dashoffset: 1; }
.sh-hero .hs-rysunki-paczka-3 { stroke-dashoffset: 0; }
.sh-hero:not(.is-1) .hs-rysunki-paczka-3 { stroke-dashoffset: 1; }
.sh-hero .hs-rysunki-paczka-4 { transform: translate(244px,46px); }
.sh-hero:not(.is-3) .hs-rysunki-paczka-4 { transform: translate(0px,0px); }
.sh-hero .hs-rysunki-paczka-5 { transform: scale(1); opacity: 1; }
.sh-hero:not(.is-2) .hs-rysunki-paczka-5 { transform: scale(0.3); opacity: 0; }
.sh-hero .hs-rysunki-paczka-6 { opacity: 0; }
.sh-hero:not(.is-4) .hs-rysunki-paczka-6 { opacity: 1; }
.sh-hero .hs-rysunki-paczka-7 { opacity: 1; }
.sh-hero:not(.is-4) .hs-rysunki-paczka-7 { opacity: 0; }
.sh-hero .hs-rysunki-paczka-8 { transform: translate(0px,0px) scale(1); opacity: 1; }
.sh-hero:not(.is-5) .hs-rysunki-paczka-8 { transform: translate(-12px,136px) scale(0.45); opacity: 0; }
.sh-hero .hs-rysunki-paczka-9 { transform: translate(0px,0px) scale(1); opacity: 1; }
.sh-hero:not(.is-5) .hs-rysunki-paczka-9 { transform: translate(-12px,99px) scale(0.45); opacity: 0; }
.sh-hero .hs-rysunki-paczka-10 { transform: translate(0px,0px) scale(1); opacity: 1; }
.sh-hero:not(.is-5) .hs-rysunki-paczka-10 { transform: translate(-12px,62px) scale(0.45); opacity: 0; }
.sh-hero .hs-rysunki-paczka-11 { opacity: 1; transform: translateX(-250px); }
.sh-hero:not(.is-4) .hs-rysunki-paczka-11 { opacity: 0; transform: translateX(0px); }
.sh-hero .hs-rysunki-paczka-12 { transform: rotate(-130deg); }
.sh-hero:not(.is-5) .hs-rysunki-paczka-12 { transform: rotate(0deg); }
.sh-hero .hs-rysunki-paczka-13 { transform: rotate(130deg); }
.sh-hero:not(.is-5) .hs-rysunki-paczka-13 { transform: rotate(0deg); }
.sh-hero .hs-kosztorys-1 { opacity: 1; }
.sh-hero:not(.is-1) .hs-kosztorys-1 { opacity: 0; }
.sh-hero .hs-kosztorys-2 { opacity: 1; }
.sh-hero:not(.is-2) .hs-kosztorys-2 { opacity: 0; }
.sh-hero .hs-kosztorys-3 { opacity: 1; }
.sh-hero:not(.is-3) .hs-kosztorys-3 { opacity: 0; }
.sh-hero .hs-kosztorys-4 { opacity: 1; }
.sh-hero:not(.is-4) .hs-kosztorys-4 { opacity: 0; }
.sh-hero .hs-kosztorys-5 { opacity: 1; }
.sh-hero:not(.is-5) .hs-kosztorys-5 { opacity: 0; }
.sh-hero .hs-kosztorys-6 { stroke-dashoffset: 0; }
.sh-hero:not(.is-5) .hs-kosztorys-6 { stroke-dashoffset: 1; }
.sh-hero .hs-pax-miarka-1 { transform: scaleX(1); }
.sh-hero:not(.is-1) .hs-pax-miarka-1 { transform: scaleX(0.04); }
.sh-hero .hs-pax-miarka-2 { transform: scale(1); opacity: 1; }
.sh-hero:not(.is-2) .hs-pax-miarka-2 { transform: scale(0.3); opacity: 0; }
.sh-hero .hs-pax-miarka-3 { opacity: 0; }
.sh-hero:not(.is-3) .hs-pax-miarka-3 { opacity: 1; }
.sh-hero .hs-pax-miarka-4 { opacity: 1; }
.sh-hero:not(.is-3) .hs-pax-miarka-4 { opacity: 0; }
.sh-hero .hs-pax-miarka-5 { transform: translateX(-5px); }
.sh-hero:not(.is-3) .hs-pax-miarka-5 { transform: translateX(0px); }
.sh-hero .hs-pax-miarka-6 { fill: #E3CFB3; }
.sh-hero:not(.is-4) .hs-pax-miarka-6 { fill: #FFFFFF; }
.sh-hero .hs-pax-miarka-7 { transform: translateX(5px); }
.sh-hero:not(.is-3) .hs-pax-miarka-7 { transform: translateX(0px); }
.sh-hero .hs-pax-miarka-8 { fill: #E3CFB3; }
.sh-hero:not(.is-4) .hs-pax-miarka-8 { fill: #FFFFFF; }
.sh-hero .hs-pax-miarka-9 { stroke-dashoffset: 0; opacity: 0; }
.sh-hero:not(.is-3) .hs-pax-miarka-9 { stroke-dashoffset: 1; }
.sh-hero:not(.is-4) .hs-pax-miarka-9 { opacity: 1; }
.sh-hero .hs-pax-miarka-10 { transform: scale(1); opacity: 1; }
.sh-hero:not(.is-4) .hs-pax-miarka-10 { transform: scale(0.3); opacity: 0; }
.sh-hero .hs-pax-miarka-11 { transform: scale(1); opacity: 1; }
.sh-hero:not(.is-4) .hs-pax-miarka-11 { transform: scale(0.3); opacity: 0; }
.sh-hero .hs-sufit-1 { opacity: 0; }
.sh-hero:not(.is-1) .hs-sufit-1 { opacity: 1; }
.sh-hero .hs-sufit-2 { transform: scaleY(1); }
.sh-hero:not(.is-1) .hs-sufit-2 { transform: scaleY(0.748); }
.sh-hero .hs-sufit-3 { opacity: 1; }
.sh-hero:not(.is-2) .hs-sufit-3 { opacity: 0; }
/* END sh_hero */
/* [sh_hero variant="metod-sufit"] H07: hand-drawn METOD kitchen (inc/home-gfx/hero-metod-sufit.svg), not from pack-03.
   Step 1 = gap under the ceiling, step 2 = tall columns and wall cabinets grow to the ceiling, 10 mm gap shown. */
.sh-hero .hs-ms-1 { opacity: 0; }
.sh-hero:not(.is-1) .hs-ms-1 { opacity: 1; }
.sh-hero .hs-ms-2, .sh-hero .hs-ms-3 { transform: scaleY(1); }
.sh-hero:not(.is-1) .hs-ms-2 { transform: scaleY(0.748); }
.sh-hero:not(.is-1) .hs-ms-3 { transform: scaleY(0.384); }
.sh-hero .hs-ms-4 { opacity: 1; }
.sh-hero:not(.is-2) .hs-ms-4 { opacity: 0; }
.sh-hero .sh-hero__g { letter-spacing: .08em; }

/* [sh_hero variant="pax-wneka"] H14: hand-drawn niche elevation (inc/home-gfx/hero-pax-wneka.svg), concept A of the 4 proposals.
   Step 1 = three PAX carcasses grow in the empty niche, 2 = fronts slide in, 3 = fronts grow to the ceiling, 4 = 10 mm gap + tick. */
.sh-hero .hs-pw-1 { opacity: 1; }
.sh-hero:not(.is-1) .hs-pw-1 { opacity: 0; }
.sh-hero .hs-pw-2 { opacity: 0; }
.sh-hero:not(.is-1) .hs-pw-2 { opacity: 1; }
.sh-hero .hs-pw-3 { transform: scaleY(1); opacity: 1; }
.sh-hero:not(.is-1) .hs-pw-3 { transform: scaleY(0); opacity: 0; }
.sh-hero .hs-pw-4, .sh-hero .hs-pw-5, .sh-hero .hs-pw-6 { transform: translateX(0); opacity: 1; }
.sh-hero:not(.is-2) .hs-pw-4 { transform: translateX(-8px); opacity: 0; }
.sh-hero:not(.is-2) .hs-pw-5 { opacity: 0; }
.sh-hero:not(.is-2) .hs-pw-6 { transform: translateX(8px); opacity: 0; }
.sh-hero .hs-pw-7 { transform: scaleY(1); }
.sh-hero:not(.is-3) .hs-pw-7 { transform: scaleY(0.834); }
.sh-hero .hs-pw-8 { opacity: 1; }
.sh-hero:not(.is-4) .hs-pw-8 { opacity: 0; }
.sh-hero .hs-pw-9 { opacity: 0; }
.sh-hero:not(.is-1) .hs-pw-9 { opacity: 1; }
.sh-hero .hs-pw-10 { opacity: 0; }
.sh-hero.is-1:not(.is-2) .hs-pw-10 { opacity: 1; }
.sh-hero .hs-pw-11 { opacity: 1; }
.sh-hero:not(.is-2) .hs-pw-11 { opacity: 0; }

/* [sh_hero variant="pax-narozna"] H24: our corner PAX photo (assets/img/home/hero-pax-narozna.webp) + a white drafting line along the corner.
   Step 1 = photo fades in, step 2 = line draws down the corner seam. */
.sh-hero .hs-pn-1 { opacity: 1; }
.sh-hero:not(.is-1) .hs-pn-1 { opacity: 0; }
.sh-hero .hs-pn-2 { stroke-dashoffset: 0; }
.sh-hero:not(.is-2) .hs-pn-2 { stroke-dashoffset: 1; }

/* Generic step classes for the hand-drawn heroes / inline animations (k = step number).
   o = fade in at step k · g = grow from the bottom · sl/sr/sy/sa = slide in from left/right/below/above
   b = visible only before step k · m = visible only during step k (until k+1) · w = visible during steps 2-3. */
.sh-hero .hs-o1 { opacity: 1; }
.sh-hero:not(.is-1) .hs-o1 { opacity: 0; }
.sh-hero .hs-g1 { transform: scaleY(1); opacity: 1; }
.sh-hero:not(.is-1) .hs-g1 { transform: scaleY(0); opacity: 0; }
.sh-hero .hs-sl1 { transform: none; opacity: 1; }
.sh-hero:not(.is-1) .hs-sl1 { transform: translateX(-10px); opacity: 0; }
.sh-hero .hs-sr1 { transform: none; opacity: 1; }
.sh-hero:not(.is-1) .hs-sr1 { transform: translateX(10px); opacity: 0; }
.sh-hero .hs-sy1 { transform: none; opacity: 1; }
.sh-hero:not(.is-1) .hs-sy1 { transform: translateY(10px); opacity: 0; }
.sh-hero .hs-sa1 { transform: none; opacity: 1; }
.sh-hero:not(.is-1) .hs-sa1 { transform: translateY(-8px); opacity: 0; }
.sh-hero .hs-b1 { opacity: 0; }
.sh-hero:not(.is-1) .hs-b1 { opacity: 1; }
.sh-hero .hs-m1 { opacity: 0; }
.sh-hero.is-1:not(.is-2) .hs-m1 { opacity: 1; }
.sh-hero .hs-o2 { opacity: 1; }
.sh-hero:not(.is-2) .hs-o2 { opacity: 0; }
.sh-hero .hs-g2 { transform: scaleY(1); opacity: 1; }
.sh-hero:not(.is-2) .hs-g2 { transform: scaleY(0); opacity: 0; }
.sh-hero .hs-sl2 { transform: none; opacity: 1; }
.sh-hero:not(.is-2) .hs-sl2 { transform: translateX(-10px); opacity: 0; }
.sh-hero .hs-sr2 { transform: none; opacity: 1; }
.sh-hero:not(.is-2) .hs-sr2 { transform: translateX(10px); opacity: 0; }
.sh-hero .hs-sy2 { transform: none; opacity: 1; }
.sh-hero:not(.is-2) .hs-sy2 { transform: translateY(10px); opacity: 0; }
.sh-hero .hs-sa2 { transform: none; opacity: 1; }
.sh-hero:not(.is-2) .hs-sa2 { transform: translateY(-8px); opacity: 0; }
.sh-hero .hs-b2 { opacity: 0; }
.sh-hero:not(.is-2) .hs-b2 { opacity: 1; }
.sh-hero .hs-m2 { opacity: 0; }
.sh-hero.is-2:not(.is-3) .hs-m2 { opacity: 1; }
.sh-hero .hs-o3 { opacity: 1; }
.sh-hero:not(.is-3) .hs-o3 { opacity: 0; }
.sh-hero .hs-g3 { transform: scaleY(1); opacity: 1; }
.sh-hero:not(.is-3) .hs-g3 { transform: scaleY(0); opacity: 0; }
.sh-hero .hs-sl3 { transform: none; opacity: 1; }
.sh-hero:not(.is-3) .hs-sl3 { transform: translateX(-10px); opacity: 0; }
.sh-hero .hs-sr3 { transform: none; opacity: 1; }
.sh-hero:not(.is-3) .hs-sr3 { transform: translateX(10px); opacity: 0; }
.sh-hero .hs-sy3 { transform: none; opacity: 1; }
.sh-hero:not(.is-3) .hs-sy3 { transform: translateY(10px); opacity: 0; }
.sh-hero .hs-sa3 { transform: none; opacity: 1; }
.sh-hero:not(.is-3) .hs-sa3 { transform: translateY(-8px); opacity: 0; }
.sh-hero .hs-b3 { opacity: 0; }
.sh-hero:not(.is-3) .hs-b3 { opacity: 1; }
.sh-hero .hs-m3 { opacity: 0; }
.sh-hero.is-3:not(.is-4) .hs-m3 { opacity: 1; }
.sh-hero .hs-o4 { opacity: 1; }
.sh-hero:not(.is-4) .hs-o4 { opacity: 0; }
.sh-hero .hs-g4 { transform: scaleY(1); opacity: 1; }
.sh-hero:not(.is-4) .hs-g4 { transform: scaleY(0); opacity: 0; }
.sh-hero .hs-sl4 { transform: none; opacity: 1; }
.sh-hero:not(.is-4) .hs-sl4 { transform: translateX(-10px); opacity: 0; }
.sh-hero .hs-sr4 { transform: none; opacity: 1; }
.sh-hero:not(.is-4) .hs-sr4 { transform: translateX(10px); opacity: 0; }
.sh-hero .hs-sy4 { transform: none; opacity: 1; }
.sh-hero:not(.is-4) .hs-sy4 { transform: translateY(10px); opacity: 0; }
.sh-hero .hs-sa4 { transform: none; opacity: 1; }
.sh-hero:not(.is-4) .hs-sa4 { transform: translateY(-8px); opacity: 0; }
.sh-hero .hs-b4 { opacity: 0; }
.sh-hero:not(.is-4) .hs-b4 { opacity: 1; }
.sh-hero .hs-m4 { opacity: 0; }
.sh-hero.is-4:not(.is-5) .hs-m4 { opacity: 1; }
.sh-hero .hs-o5 { opacity: 1; }
.sh-hero:not(.is-5) .hs-o5 { opacity: 0; }
.sh-hero .hs-g5 { transform: scaleY(1); opacity: 1; }
.sh-hero:not(.is-5) .hs-g5 { transform: scaleY(0); opacity: 0; }
.sh-hero .hs-sl5 { transform: none; opacity: 1; }
.sh-hero:not(.is-5) .hs-sl5 { transform: translateX(-10px); opacity: 0; }
.sh-hero .hs-sr5 { transform: none; opacity: 1; }
.sh-hero:not(.is-5) .hs-sr5 { transform: translateX(10px); opacity: 0; }
.sh-hero .hs-sy5 { transform: none; opacity: 1; }
.sh-hero:not(.is-5) .hs-sy5 { transform: translateY(10px); opacity: 0; }
.sh-hero .hs-sa5 { transform: none; opacity: 1; }
.sh-hero:not(.is-5) .hs-sa5 { transform: translateY(-8px); opacity: 0; }
.sh-hero .hs-b5 { opacity: 0; }
.sh-hero:not(.is-5) .hs-b5 { opacity: 1; }
.sh-hero .hs-m5 { opacity: 0; }
.sh-hero.is-5:not(.is-6) .hs-m5 { opacity: 1; }
.sh-hero .hs-w { opacity: 0; }
.sh-hero.is-2:not(.is-4) .hs-w { opacity: 1; }
/* kitchen photo: slow zoom at step 2 */
.sh-hero .hs-zoom { transition: opacity .45s ease-out, transform 3.2s ease-out; transform: scale(1.06); }
.sh-hero:not(.is-2) .hs-zoom { transform: scale(1); }
/* japandi scene: lamp sways */
@keyframes hs-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@media (prefers-reduced-motion: no-preference) { .sh-hero .hs-lamp { transform-box: view-box; transform-origin: 120px 0; animation: hs-sway 5s ease-in-out infinite; } }
/* [sh_anim]: inline animation inside the article body (same drawings, no hero text) */
.sh-anim .sh-g__stage { max-width: 385px; }
.sh-anim .sh-g__note { text-align: center; }
