/* Boreal Kitchens: hero with an assembling elevation drawing on the left, title and buttons on the right (assets/hero.js).
   Applies to .hc-title.hx (the title block of every page with a calculator). Phones: drawing on top, compact. */
@media (min-width:1001px){
  .hc-title.hx{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto 1fr auto auto auto auto 1fr;
    column-gap:clamp(28px,4vw,64px);min-height:clamp(420px,38vw,540px);padding-block:8px 4px}
  .hc-title.hx .crumbs{grid-column:1/-1;grid-row:1}
  .hc-title.hx .hx-art{grid-column:1;grid-row:2/8;align-self:center}
  .hc-title.hx .eyebrow{grid-column:2;grid-row:3}
  .hc-title.hx h1{grid-column:2;grid-row:4;font-size:clamp(38px,4.3vw,66px)}
  .hc-title.hx .lede{grid-column:2;grid-row:5;margin-top:20px}
  .hc-title.hx .cta-row{grid-column:2;grid-row:6;align-self:start;margin-top:28px}
}
.hx-art{position:relative;width:100%;aspect-ratio:760/580;user-select:none;-webkit-tap-highlight-color:transparent;
  -webkit-mask-image:radial-gradient(ellipse 60% 60% at 50% 50%,#000 70%,transparent 100%);
          mask-image:radial-gradient(ellipse 60% 60% at 50% 50%,#000 70%,transparent 100%)}
.hx-art svg{display:block;width:100%;height:100%;overflow:visible}
@media (max-width:1000px){
  .hx-art{width:min(100%,420px);margin:-8px auto 4px}
}
/* strokes and fills */
.hx-art .gr{fill:none;stroke:var(--rule-soft,#e0e4de);stroke-width:.7}
.hx-art .c{fill:var(--paper,#f4f5f2);stroke:var(--ink,#121614);stroke-width:1.4;stroke-linejoin:round}
.hx-art .c.t{fill:var(--green-wash,#dfe9e3)}
.hx-art .f{fill:#fbfcfa;stroke:var(--ink,#121614);stroke-width:1.1}
.hx-art path.f{fill:none}
.hx-art .h{stroke:var(--green,#1d4a38);stroke-width:2.6;stroke-linecap:round;fill:var(--green,#1d4a38)}
.hx-art .g{fill:rgba(29,74,56,.07);stroke:var(--ink-2,#4a524e);stroke-width:1}
.hx-art .g2{fill:rgba(143,196,168,.16);stroke:var(--rule,#c9cec8);stroke-width:1}
.hx-art .c.g3{fill:#1c2a24}
.hx-art .cl{fill:var(--green-wash,#dfe9e3);stroke:var(--green-2,#2f6b52);stroke-width:.9}
.hx-art .r{stroke:var(--ink,#121614);stroke-width:2.2;stroke-linecap:round}
.hx-art .k{stroke:var(--ink-2,#4a524e);stroke-width:1}
.hx-art .fl{stroke:var(--ink,#121614);stroke-width:1.8}
.hx-art .led{stroke:var(--green-hi,#8fc4a8);stroke-width:3;stroke-linecap:round}
.hx-art .bs line{stroke:var(--rule,#c9cec8);stroke-width:1;stroke-dasharray:5 5}
.hx-art .dim line{stroke:var(--green-2,#2f6b52);stroke-width:.9}
.hx-art .dt,.hx-art .ct,.hx-art .tag{font-family:var(--mono,"IBM Plex Mono",monospace);text-transform:uppercase;letter-spacing:.05em}
.hx-art .dt{font-size:12px;fill:var(--green,#1d4a38)}
.hx-art .call line{stroke:var(--green,#1d4a38);stroke-width:1}
.hx-art .call circle{fill:var(--green,#1d4a38)}
.hx-art .ct{font-size:12.5px;fill:var(--ink,#121614);paint-order:stroke;stroke:var(--paper,#f4f5f2);stroke-width:4px}
.hx-art .tag{font-size:11px;fill:var(--ink-2,#4a524e)}
.hx-hint{position:absolute;left:50%;bottom:4%;transform:translateX(-50%);font-size:11px;color:var(--green,#1d4a38);white-space:nowrap;
  opacity:0;transition:opacity .5s;pointer-events:none}
.hx-art.on .hx-hint{opacity:.85;transition-delay:2.4s}
.hx-art.used .hx-hint{opacity:0;transition-delay:0s}
@media (hover:hover){.hx-art{cursor:crosshair}}

/* assembly: parts fly in one by one and their outlines draw; exploded view on hover/tap */
.hx-art .p{transition:transform .9s cubic-bezier(.2,.8,.2,1),opacity .45s;transition-delay:calc(var(--i)*75ms)}
.hx-art .p .c{stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset 1.1s ease,fill-opacity .6s;transition-delay:calc(var(--i)*75ms)}
.hx-art:not(.on) .p{opacity:0;transform:translate(calc(var(--dx)*2.5),calc(var(--dy)*2.5 - 26px))}
.hx-art:not(.on) .p .c{stroke-dashoffset:1;fill-opacity:0}
.hx-art.used .p,.hx-art.used .p .c{transition-delay:calc(var(--i)*22ms)}
.hx-art.x .p{transform:translate(var(--dx),var(--dy))}
.hx-art .dim,.hx-art .call,.hx-art .bs{transition:opacity .45s}
.hx-art .dim,.hx-art .call{opacity:0}
.hx-art:not(.on) .bs{opacity:0}
.hx-art.x .dim,.hx-art.x .call{opacity:1;transition-delay:.25s}
.hx-art.still .p,.hx-art.still .p .c{transition:none}
@media (prefers-reduced-motion:reduce){.hx-art .p,.hx-art .p .c{transition:none!important}}
