/* Homebase Site Factory · component library v0.1 (29 Nov 2026)
   Shared by every factory site. A site themes it with its own variables:
   --hbc-line, --hbc-radius, --hbc-accent, --hbc-surface, --hbc-serif, --hbc-sans. Fallbacks follow the page. */
.hbc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px}
@media(max-width:1024px){.hbc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hbc-grid{grid-template-columns:1fr}}
.hbc-card{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:inherit;background:var(--hbc-surface,transparent);border:1px solid var(--hbc-line,rgba(127,127,127,.28));border-radius:var(--hbc-radius,10px);box-shadow:0 1px 2px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.08);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.hbc-card:hover,.hbc-card:focus-visible{transform:translateY(-10px);border-color:var(--hbc-accent,currentColor);box-shadow:0 2px 4px rgba(0,0,0,.10),0 18px 40px rgba(0,0,0,.22)}
.hbc-card__img{display:block;aspect-ratio:3/2;overflow:hidden}
.hbc-card__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.hbc-card:hover .hbc-card__img img{transform:scale(1.04)}
.hbc-card__b{display:flex;flex-direction:column;gap:8px;padding:18px 20px 22px}
.hbc-card__k{font:600 12px/1.4 var(--hbc-sans,var(--sans,sans-serif));letter-spacing:.14em;text-transform:uppercase;opacity:.65}
.hbc-card__t{font:500 24px/1.2 var(--hbc-serif,var(--serif,serif))}
.hbc-card__x{font-size:16px;line-height:1.5;opacity:.8}
.hbc-card[hidden]{display:none}
.hbc-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.hbc-chip{font:600 13px/1 var(--hbc-sans,var(--sans,sans-serif));letter-spacing:.12em;text-transform:uppercase;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--hbc-line,rgba(127,127,127,.4));background:transparent;color:inherit;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.hbc-chip:hover{border-color:currentColor}
.hbc-chip[aria-pressed="true"]{border-color:currentColor;background:color-mix(in srgb,currentColor 16%,transparent)}
.hbc-flag{display:inline-flex;align-items:center;gap:10px}
.hbc-flag svg{width:34px;height:23px;border-radius:3px;box-shadow:0 0 0 1px var(--hbc-line,rgba(127,127,127,.35));flex:none}
.hbc-flag--lg svg{width:48px;height:32px}
.hbc-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin-top:28px}
.hbc-tile{display:flex;flex-direction:column;gap:12px;padding:22px;text-decoration:none;color:inherit;border:1px solid var(--hbc-line,rgba(127,127,127,.28));border-radius:var(--hbc-radius,10px);box-shadow:0 1px 2px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.08);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.hbc-tile:hover,.hbc-tile:focus-visible{transform:translateY(-8px);border-color:var(--hbc-accent,currentColor);box-shadow:0 2px 4px rgba(0,0,0,.10),0 18px 40px rgba(0,0,0,.22)}
.hbc-tile b{font:500 22px/1.2 var(--hbc-serif,var(--serif,serif))}
.hbc-tile span{font-size:15px;opacity:.75}
.hbc-tiles--3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1024px){.hbc-tiles--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hbc-tiles--3{grid-template-columns:1fr}}
.hbc-tile--row{flex-direction:row;align-items:center;gap:16px;padding:22px 24px;min-height:84px}
.hbc-tile--row b{flex:1}
.hbc-tile--row small{font:600 12px/1 var(--hbc-sans,var(--sans,sans-serif));letter-spacing:.14em;text-transform:uppercase;opacity:.6}
@media(prefers-reduced-motion:reduce){.hbc-card,.hbc-tile,.hbc-card__img img{transition:none}.hbc-card:hover,.hbc-tile:hover{transform:none}}

/* option pills for define forms */
.hbc-q{border:0;padding:0;margin:0 0 22px;min-width:0}
.hbc-q>legend{font:600 12px/1.3 var(--hbc-sans,var(--sans,sans-serif));letter-spacing:.14em;text-transform:uppercase;padding:0;margin:0 0 10px}
.hbc-q>legend small{font-weight:400;letter-spacing:.04em;text-transform:none;opacity:.65;margin-left:6px}
.hbc-opts{display:flex;flex-wrap:wrap;gap:8px}
.hbc-opts label{position:relative;display:inline-flex;margin:0;cursor:pointer;text-transform:none;letter-spacing:0}
.hbc-opts input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.hbc-opts span{display:inline-flex;align-items:center;min-height:42px;padding:8px 16px;border:1px solid var(--hbc-line,var(--line,#d9d2c6));border-radius:var(--hbc-radius,2px);background:var(--hbc-surface,transparent);font:400 15px/1.2 var(--hbc-sans,var(--sans,sans-serif));transition:background .15s,color .15s,border-color .15s}
.hbc-opts label:hover span{border-color:var(--hbc-accent,var(--accent,#667264))}
.hbc-opts input:checked+span{background:var(--hbc-accent,var(--accent,#667264));border-color:var(--hbc-accent,var(--accent,#667264));color:#fff}
.hbc-opts input:focus-visible+span{outline:2px solid var(--hbc-accent,var(--accent,#667264));outline-offset:2px}
.hbc-formsteps{font:600 12px/1 var(--hbc-sans,var(--sans,sans-serif));letter-spacing:.14em;text-transform:uppercase;opacity:.6;margin:26px 0 14px;padding-top:18px;border-top:1px solid var(--hbc-line,var(--line,#d9d2c6))}
.hbc-formsteps:first-of-type{margin-top:0;padding-top:0;border-top:0}

/* a form that reads like a printed sheet, floating a little */
.hbc-paper{position:relative;background:var(--hbc-paper,var(--bg,#f7f3ec));border:1px solid var(--hbc-line,var(--line,#e2dace));padding:44px 44px 40px;box-shadow:0 0 0 1px var(--hbc-line,var(--line,#e2dace)),0 0 0 9px var(--hbc-paper,var(--bg,#f7f3ec)),0 0 0 10px var(--hbc-line,var(--line,#e2dace)),0 46px 80px -44px rgba(43,38,34,.45);--hbc-surface:var(--surface,#fffdf9);transition:transform .35s ease,box-shadow .35s ease}
.hbc-paper:hover,.hbc-paper:focus-within{transform:translateY(-3px)}
.hbc-paper__h{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 28px;padding:0 0 18px;border-bottom:3px double var(--hbc-line,var(--line,#e2dace))}
.hbc-paper__h b{font:500 30px/1.1 var(--hbc-serif,var(--serif,Georgia,serif))}
.hbc-paper__h span{font:600 11px/1.3 var(--hbc-sans,var(--sans,sans-serif));letter-spacing:.16em;text-transform:uppercase;opacity:.6;text-align:right}
.hbc-paper .hbc-formsteps{display:flex;align-items:center;gap:12px;opacity:1}
.hbc-paper .hbc-formsteps i{font:italic 500 22px/1 var(--hbc-serif,var(--serif,Georgia,serif));color:var(--hbc-accent,var(--accent,#667264));letter-spacing:0}
.hbc-sticky{position:sticky;top:120px;align-self:start}
.hbc-frame{display:block;margin:36px 9px 0;aspect-ratio:4/3;overflow:hidden;box-shadow:0 0 0 1px var(--hbc-line,var(--line,#e2dace)),0 0 0 9px var(--bg,#f7f3ec),0 0 0 10px var(--hbc-line,var(--line,#e2dace))}
.hbc-frame img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:1023px){.hbc-sticky{position:static}.hbc-paper{padding:28px 20px}.hbc-paper__h{flex-direction:column;gap:6px}.hbc-paper__h span{text-align:left}}
@media(prefers-reduced-motion:reduce){.hbc-paper{transition:none}.hbc-paper:hover,.hbc-paper:focus-within{transform:none}}

/* tile type a little smaller so country names stay on one line */
.hbc-tile--row b{font-size:19px;line-height:1.15}
.hbc-tile--row{gap:14px;padding:18px 20px;min-height:72px}
.hbc-tile--row small{font-size:11px}
