/* Blueprint variant: sharp corners everywhere, light drawing marks. Loaded after home2.css on the home page only. */
html:not(#bp0):not(#bp1) body *,html:not(#bp0):not(#bp1) body *::before,html:not(#bp0):not(#bp1) body *::after{border-radius:0!important}
/* tiny status dots stay round */
html:not(#bp0):not(#bp1):not(#bp2) body .hx2-note>i,html:not(#bp0):not(#bp1):not(#bp2) body .hx2-note>i::after,html:not(#bp0):not(#bp1):not(#bp2) body .hx2-live>i,html:not(#bp0):not(#bp1):not(#bp2) body .hx2-live>i::after{border-radius:50%!important}

/* faint drafting grid behind the whole page */
body.hx2{background-image:
  linear-gradient(rgba(29,74,56,.045) 1px,transparent 1px),
  linear-gradient(90deg,rgba(29,74,56,.045) 1px,transparent 1px),
  linear-gradient(rgba(29,74,56,.025) 1px,transparent 1px),
  linear-gradient(90deg,rgba(29,74,56,.025) 1px,transparent 1px);
  background-size:120px 120px,120px 120px,24px 24px,24px 24px;background-position:-1px -1px}

/* crop marks inside the corners of every sheet */
.bp-host{position:relative}
.bp-c{position:absolute;width:14px;height:14px;pointer-events:none;z-index:3;opacity:0;border:0 solid var(--green,#1d4a38);transition:opacity .5s,transform .7s var(--ease,cubic-bezier(.2,.7,.2,1))}
.bp-c--tl{top:8px;left:8px;border-top-width:1px;border-left-width:1px;transform:translate(6px,6px)}
.bp-c--tr{top:8px;right:8px;border-top-width:1px;border-right-width:1px;transform:translate(-6px,6px)}
.bp-c--bl{bottom:8px;left:8px;border-bottom-width:1px;border-left-width:1px;transform:translate(6px,-6px)}
.bp-c--br{bottom:8px;right:8px;border-bottom-width:1px;border-right-width:1px;transform:translate(-6px,-6px)}
.bp-in .bp-c{opacity:.55;transform:none}
.sheet.dark .bp-c,.hx2-hero__in .bp-c,.hx2-ft .bp-c{border-color:rgba(242,245,242,.6)}

/* dimension line along the bottom of each sheet: ticks at both ends and the live width */
.bp-dim{position:absolute;left:32px;right:32px;bottom:12px;height:12px;pointer-events:none;z-index:2;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono,ui-monospace,monospace);font-size:9.5px;letter-spacing:.1em;color:rgba(29,74,56,.55)}
.bp-dim::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(29,74,56,.3);transform:scaleX(0);transition:transform 1.1s var(--ease,cubic-bezier(.2,.7,.2,1)) .15s}
.bp-dim i{position:absolute;top:0;bottom:0;width:1px;background:rgba(29,74,56,.45)}
.bp-dim i:first-of-type{left:0}.bp-dim i:last-of-type{right:0}
.bp-dim b{position:relative;padding:0 8px;background:var(--paper,#f4f5f2);font-weight:400;opacity:0;transition:opacity .4s .9s}
.bp-in .bp-dim::before{transform:none}
.bp-in .bp-dim b{opacity:1}
.sheet.dark .bp-dim,.hx2-ft .bp-dim{color:rgba(242,245,242,.5)}
.sheet.dark .bp-dim::before,.hx2-ft .bp-dim::before,.sheet.dark .bp-dim i,.hx2-ft .bp-dim i{background:rgba(242,245,242,.3)}
.sheet.dark .bp-dim b,.hx2-ft .bp-dim b{background:transparent}

/* sheet titles read like a drawing title block */
.hx2 .sheet-head{position:relative}
.hx2 .sheet-head::after{content:"";position:absolute;left:0;bottom:-1px;height:1px;width:100%;background:var(--green,#1d4a38);transform:scaleX(0);transform-origin:0 50%;transition:transform 1.2s var(--ease,cubic-bezier(.2,.7,.2,1)) .2s}
.bp-in .sheet-head::after{transform:none}

/* hero: a section-cut hatch strip on the left edge and a scale bar */
.hx2-hero__in{position:relative}
.bp-scale{position:absolute;right:22px;top:18px;z-index:2;display:flex;align-items:flex-end;gap:8px;font-family:var(--mono,monospace);font-size:9.5px;letter-spacing:.08em;color:rgba(242,245,242,.55);pointer-events:none}
.bp-scale span{display:flex;height:6px;border:1px solid rgba(242,245,242,.5)}
.bp-scale span i{width:14px;height:100%}
.bp-scale span i:nth-child(odd){background:rgba(242,245,242,.5)}

/* buttons and inputs: square, with a thin offset frame on hover like a selected entity */
.hx2 .hx2-btn,.hx2 .btn,.hx2-cta,.hx2-quiz{position:relative}
@media (hover:hover){
  .hx2 .hx2-btn::after,.hx2-cta::after{content:"";position:absolute;inset:-4px;border:1px dashed currentColor;opacity:0;transition:opacity .2s,inset .25s;pointer-events:none}
  .hx2 .hx2-btn:hover::after,.hx2-cta:hover::after{opacity:.5;inset:-6px}
}
@media (prefers-reduced-motion:reduce){.bp-c,.bp-dim::before,.bp-dim b,.hx2 .sheet-head::after{transition:none!important}}
@media (max-width:560px){.bp-dim{left:20px;right:20px;bottom:8px;font-size:8.5px}.bp-c{width:10px;height:10px}.bp-scale{display:none}}
/* matte paper: fine grain over the whole page (sheets and green blocks too), plus a soft frosted haze */
body.hx2::after{content:"";position:fixed;inset:-50%;z-index:390;pointer-events:none;opacity:.11;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:220px 220px;animation:bpGrain 1.2s steps(4) infinite}
body.hx2::before{content:"";position:fixed;inset:-50%;z-index:389;pointer-events:none;opacity:.16;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px 180px;animation:bpGrain 1.6s steps(3) infinite reverse}
@keyframes bpGrain{0%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}100%{transform:translate(0,0)}}
@media (prefers-reduced-motion:reduce){body.hx2::after{animation:none}}
.hx2-ctog,.hc-card,.sheet.dark{background-blend-mode:normal}

/* hero: project gallery on the left, text on the right (computer); gallery above the centred text (phone) */
.bp-gal{position:relative;display:block;overflow:hidden;background:#0d2219;border:1px solid rgba(242,245,242,.18);color:#fff;text-decoration:none;aspect-ratio:4/3;animation:hx2Fade .9s .2s var(--ease,ease) both}
.bp-gal__f img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity 1s ease,transform 5.5s linear}
.bp-gal__f img.is-on{opacity:1;transform:scale(1)}
.bp-gal::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,30,22,.35),transparent 30%,transparent 62%,rgba(10,30,22,.75));pointer-events:none}
.bp-gal__cap{position:absolute;left:16px;right:16px;bottom:22px;z-index:2;display:flex;align-items:baseline;gap:8px;font-family:var(--mono,monospace);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:rgba(242,245,242,.75)}
.bp-gal__cap b{font-weight:400;font-size:20px;color:#fff;letter-spacing:0}
.bp-gal__cap em{margin-left:auto;font-style:normal;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bp-gal__bars{position:absolute;left:16px;right:16px;bottom:12px;z-index:2;display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.bp-gal__bars i{position:relative;height:2px;background:rgba(242,245,242,.25);overflow:hidden}
.bp-gal__bars u{position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:0 50%}
.bp-gal__bars i.is-past u{transform:none}
.bp-gal__bars i.is-on u{animation:bpBar var(--t,4200ms) linear forwards}
@keyframes bpBar{to{transform:none}}
.bp-gal__tag{position:absolute;top:12px;left:14px;z-index:2;font-family:var(--mono,monospace);font-size:10px;letter-spacing:.1em;color:rgba(242,245,242,.8);padding:3px 7px;border:1px dashed rgba(242,245,242,.45)}
.bp-gal:hover .bp-gal__tag{background:rgba(242,245,242,.12)}
.bp-htxt{position:relative}
@media (min-width:901px){
  .hx2-hero__in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:clamp(28px,4vw,64px);align-items:center;text-align:left;padding-left:clamp(28px,4vw,56px)!important;padding-right:clamp(28px,4vw,56px)!important}
  .hx2-hero__in>.hx2-tiles{grid-column:1/-1}
  .bp-gal{grid-column:1;aspect-ratio:auto;height:100%;min-height:380px}
  .bp-htxt{grid-column:2;text-align:left}
  .bp-htxt .hx2-h1{margin-left:0!important;margin-right:0!important;text-align:left;font-size:clamp(34px,4.1vw,66px)!important}
  .bp-htxt .hx2-h1 .ln{justify-content:flex-start}
  .bp-htxt .hx2-lede{margin-left:0;margin-right:0;text-align:left}
  .bp-htxt .hx2-ctas{justify-content:flex-start}
  .bp-htxt .hx2-note{justify-content:flex-start;text-align:left;margin-left:0;margin-right:0}
}
@media (max-width:900px){
  .bp-gal{margin:0 0 22px}
  .bp-htxt{text-align:center}
}
/* service tiles: a bit slimmer */
.hx2 .hx2-tile{height:clamp(104px,10.5vw,148px)!important}
@media (max-width:760px){.hx2 .hx2-tile{height:108px!important}}
.bp-gal__cap>*{white-space:nowrap}.bp-gal__cap em{flex:1;min-width:0}
@media (max-width:900px){.bp-gal{margin:0 -10px 22px;border:1px solid rgba(242,245,242,.4)}}
@media (max-width:900px){.hx2-hero__in>.hx2-tiles{margin-left:14px!important;margin-right:14px!important;width:auto!important}}
/* grain: still and faint (no flicker) */
body.hx2::after{opacity:.05!important;animation:none!important}
body.hx2::before{opacity:.07!important;animation:none!important}
/* footer: room under the last line so the dimension line doesn't run into the text */
footer.hx2-ft.bp-host{padding-bottom:46px!important}
@media (max-width:560px){footer.hx2-ft.bp-host{padding-bottom:40px!important}}
/* dimension line: a clean gap around the number (dark sheets have no paper fill behind it) */
.bp-dim::before{-webkit-mask-image:linear-gradient(90deg,#000 calc(50% - 52px),transparent calc(50% - 52px),transparent calc(50% + 52px),#000 calc(50% + 52px));mask-image:linear-gradient(90deg,#000 calc(50% - 52px),transparent calc(50% - 52px),transparent calc(50% + 52px),#000 calc(50% + 52px))}
.bp-dim b{background:transparent!important}
