/* Homebots Core blocks. Uses Homebots theme tokens when present, with fallbacks. */
:root {
	--hbc-ivory: var(--wp--preset--color--ivory, #F6F1E7);
	--hbc-ivory-deep: var(--wp--preset--color--ivory-deep, #EDE5D6);
	--hbc-champagne: var(--wp--preset--color--champagne, #D8C4A0);
	--hbc-bronze: var(--wp--preset--color--bronze, #946F43);
	--hbc-bronze-dark: var(--wp--preset--color--bronze-dark, #7A5A35);
	--hbc-stone: var(--wp--preset--color--stone, #8E877C);
	--hbc-charcoal: var(--wp--preset--color--charcoal, #1B1A18);
	--hbc-charcoal-soft: var(--wp--preset--color--charcoal-soft, #262421);
	--hbc-ink: var(--wp--preset--color--ink, #2A2724);
	--hbc-display: var(--wp--preset--font-family--display, "Bodoni Moda", Georgia, serif);
	--hbc-sans: var(--wp--preset--font-family--sans, Jost, Arial, sans-serif);
	--hbc-mono: var(--wp--preset--font-family--mono, "IBM Plex Mono", ui-monospace, monospace);
	--hbc-ease: cubic-bezier(.22, .61, .36, 1);
	--hbc-line: rgba(42, 39, 36, .13);
	--hbc-gutter: var(--wp--custom--gutter, clamp(20px, 4vw, 64px));
}

/* ---------- shared atoms ---------- */
.hb-label { font-family: var(--hbc-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hbc-stone); margin: 0; line-height: 1.6; }
.hb-eyebrow { font-family: var(--hbc-sans); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--hbc-bronze-dark); margin: 0; }
.hb-dark .hb-eyebrow, .hb-hero .hb-eyebrow, .hb-studio-head .hb-eyebrow { color: var(--hbc-champagne); }
.hb-dark .hb-label { color: #BDB6AA; }
.hb-fine { font-size: 13px; opacity: .58; margin: .75rem 0 0; }
.hb-select { user-select: all; }
.hb-empty { padding: 1.5rem; border: 1px dashed var(--hbc-bronze); }
.hb-placeholder { display: inline-flex; align-items: center; border: 1px dashed rgba(148,111,67,.6); color: var(--hbc-bronze-dark); padding: .3rem .65rem; font-family: var(--hbc-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.hb-dark .hb-placeholder, .hb-frame .hb-placeholder, .hb-project-hero .hb-placeholder { border-color: rgba(216,196,160,.6); color: var(--hbc-champagne); background: rgba(27,26,24,.35); }
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.05rem 1.6rem; background: var(--hbc-charcoal); color: var(--hbc-ivory) !important; font: 500 12px/1.2 var(--hbc-sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: background .3s var(--hbc-ease), color .3s, border-color .3s; }
.hb-btn::after { content: "→"; letter-spacing: 0; font-size: 15px; transition: transform .3s var(--hbc-ease); }
.hb-btn:hover { background: var(--hbc-bronze-dark); }
.hb-btn:hover::after { transform: translateX(4px); }
.hb-btn:disabled { opacity: .6; cursor: wait; }
.hb-btn.is-champagne { background: var(--hbc-champagne); color: var(--hbc-charcoal) !important; }
.hb-btn.is-champagne:hover { background: var(--hbc-ivory); }
.hb-btn.is-outline-light { background: transparent; border-color: rgba(246,241,231,.4); color: var(--hbc-ivory) !important; }
.hb-btn.is-outline-light:hover { border-color: var(--hbc-champagne); color: var(--hbc-champagne) !important; }
.hb-btn.is-outline { background: transparent; color: var(--hbc-ink) !important; border-color: rgba(42,39,36,.3); }
.hb-btn.is-small { padding: .7rem 1rem; font-size: 11px; }
.hb-btn.is-small::after { display: none; }
.hb-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.hb-textlink { display: inline-flex; gap: .4rem; align-items: center; background: none; border: 0; border-bottom: 1px solid rgba(148,111,67,.5); padding: 0 0 .25rem; color: var(--hbc-bronze-dark) !important; font: 500 12px/1.4 var(--hbc-sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none !important; cursor: pointer; }
.hb-textlink::after { content: "↗"; font-size: 11px; letter-spacing: 0; }
.hb-textlink:hover { color: var(--hbc-ink) !important; }
.hb-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hb-chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(42,39,36,.22); background: transparent; color: inherit; padding: .6rem 1rem; font: 400 14.5px/1.3 var(--hbc-sans); cursor: pointer; transition: all .25s; }
.hb-chip:hover { border-color: var(--hbc-bronze); }
.hb-chip[aria-pressed="true"] { background: var(--hbc-charcoal); border-color: var(--hbc-charcoal); color: var(--hbc-ivory); }
.hb-frame { position: relative; overflow: hidden; background: var(--hbc-charcoal); max-width: 100%; }
.hb-frame > svg, .hb-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-frame-tag { position: absolute; left: 1rem; top: 1rem; }
.hb-figure { margin: 0; }
.hb-caption { margin-top: 1rem; font-family: var(--hbc-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--hbc-stone); }
.hb-plate-bg svg, .hb-plate-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-error { color: #9B3B2A; font-size: 13px; margin: .4rem 0 0; min-height: 0; }
.hb-error:empty { display: none; }
.hb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hb-zoom > svg, .hb-zoom > img { transition: transform 1.4s var(--hbc-ease); }
a:hover .hb-zoom > svg, a:hover .hb-zoom > img { transform: scale(1.04); }

/* ---------- hero ---------- */
.hb-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hbc-charcoal); color: var(--hbc-ivory); min-height: min(100svh, 980px); display: flex; align-items: flex-end; margin-top: 0 !important; margin-bottom: 0 !important; }
.hb-hero-art { position: absolute; inset: 0; z-index: -2; }
.hb-hero-art svg, .hb-hero-art img { position: absolute; top: 0; right: 0; height: 100%; width: 100%; object-fit: cover; }
@media (min-width: 1024px) { .hb-hero-art svg { width: 82%; } }
.hb-hero-art .hb-l { transition: opacity 1.4s var(--hbc-ease); }
.hb-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,26,24,.7) 0%, rgba(27,26,24,.1) 40%, rgba(27,26,24,.85) 100%), linear-gradient(90deg, var(--hbc-charcoal) 0%, rgba(27,26,24,.4) 45%, transparent 75%); }
@media (max-width: 1023px) { .hb-hero-shade { background: linear-gradient(180deg, rgba(27,26,24,.6), rgba(27,26,24,.55) 40%, rgba(27,26,24,.9)); } }
.hb-hero-inner { width: 100%; max-width: calc(1320px + 2 * var(--hbc-gutter)); margin: 0 auto; padding: 9rem var(--hbc-gutter) 4.5rem; display: grid; gap: 3rem; align-items: end; box-sizing: border-box; }
@media (min-width: 1024px) { .hb-hero-inner { grid-template-columns: 1fr auto; padding-bottom: 5rem; } }
.hb-hero-copy { max-width: 46rem; }
.hb-hero-title { font-family: var(--hbc-display); font-weight: 400; font-size: clamp(2.7rem, 6.4vw, 6rem); line-height: 1.03; letter-spacing: -.015em; margin: 1.5rem 0 0; color: var(--hbc-ivory); }
.hb-hero-text { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.65; font-weight: 300; max-width: 36rem; margin: 1.75rem 0 2.5rem; color: rgba(246,241,231,.8); }
.hb-trust { margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-family: var(--hbc-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,241,231,.6); }
@media (max-width: 599px) { .hb-hero .hb-btns { flex-direction: column; } .hb-hero .hb-btn { width: 100%; } }
.hb-keypad-wrap { width: 100%; max-width: 300px; }
.hb-keypad-label { font-family: var(--hbc-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,241,231,.55); margin: 0 0 .75rem; }
.hb-keypad { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .75rem; border-radius: 3px; background: linear-gradient(135deg, #C5A57B, #9C7A50 50%, #7C5D3A); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hb-keypad button { position: relative; height: 3.5rem; border: 0; border-radius: 2px; background: rgba(0,0,0,.07); color: #2E2112; font: 500 10.5px/1 var(--hbc-sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .25s; }
.hb-keypad button:hover { background: rgba(0,0,0,.12); }
.hb-keypad button[aria-pressed="true"] { background: rgba(0,0,0,.16); }
.hb-led { position: absolute; left: .6rem; top: .6rem; width: 6px; height: 6px; border-radius: 50%; background: #5B4428; transition: all .3s; }
.hb-keypad button[aria-pressed="true"] .hb-led { background: #FFE3A8; box-shadow: 0 0 8px #FFE3A8; }
.hb-keypad-note { margin: .75rem 0 0; min-height: 2.6em; font-size: 13px; font-weight: 300; color: rgba(246,241,231,.6); }

/* ---------- journey ---------- */
.hb-journey { margin-top: clamp(3rem, 6vw, 4.5rem); }
.hb-rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.hb-rail-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: rgba(42,39,36,.15); }
.hb-rail-progress { display: block; height: 1px; width: 0; background: var(--hbc-bronze); transition: width .8s var(--hbc-ease); }
.hb-rail [role="tab"] { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.hb-rail [role="tab"]:nth-of-type(2) { align-items: center; text-align: center; }
.hb-rail [role="tab"]:nth-of-type(3) { align-items: flex-end; text-align: right; }
.hb-stage-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(42,39,36,.25); background: var(--hbc-ivory-deep); font-family: var(--hbc-mono); font-size: 12px; color: rgba(42,39,36,.6); transition: all .5s; }
.hb-rail [role="tab"].is-done .hb-stage-no { background: var(--hbc-bronze); border-color: var(--hbc-bronze); color: var(--hbc-ivory); }
.hb-stage-name { margin-top: 1.25rem; font-family: var(--hbc-display); font-size: clamp(1.4rem, 2.2vw, 2rem); color: rgba(42,39,36,.45); transition: color .3s; line-height: 1.15; }
.hb-rail [aria-selected="true"] .hb-stage-name { color: var(--hbc-ink); }
.hb-rail .hb-stage-aim { margin-top: .3rem; font-size: 14px; color: rgba(42,39,36,.55); }
.hb-stage-panel { display: grid; gap: 3rem; margin-top: 3.5rem; animation: hbFade .5s var(--hbc-ease); }
.hb-stage-panel[hidden] { display: none; }
@media (min-width: 1024px) { .hb-stage-panel { grid-template-columns: 1fr 1.1fr; } }
.hb-stage-mobile-title { display: none; }
.hb-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
@media (min-width: 600px) { .hb-points { grid-template-columns: 1fr 1fr; } }
.hb-points li { border-bottom: 1px solid var(--hbc-line); padding: .8rem 0; font-size: 15px; font-weight: 300; }
.hb-deliverable { margin-top: 2rem; border-left: 2px solid var(--hbc-bronze); background: rgba(246,241,231,.7); padding: 1.25rem 1.5rem; }
.hb-deliverable p:last-child { font-family: var(--hbc-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.3; margin: .4rem 0 0; }
.hb-stage-art { min-width: 0; }
@media (max-width: 781px) {
	.hb-rail { grid-template-columns: 1fr; gap: .5rem; }
	.hb-rail-line { display: none; }
	.hb-rail [role="tab"], .hb-rail [role="tab"]:nth-of-type(2), .hb-rail [role="tab"]:nth-of-type(3) { flex-direction: row; align-items: center; text-align: left; gap: 1rem; padding: .5rem 0; }
	.hb-stage-name { margin-top: 0; font-size: 1.35rem; }
	.hb-rail .hb-stage-aim { display: none; }
	.hb-stage-no { width: 36px; height: 36px; flex: none; }
	.hb-stage-panel { margin-top: 2rem; }
}
.hb-journey.is-stacked { margin-top: 0; display: grid; gap: clamp(4rem, 9vw, 8rem); }
.hb-stage-row { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .hb-stage-row { grid-template-columns: 1fr 1fr; gap: 5rem; } .hb-stage-row.is-flipped .hb-stage-text { order: 2; } }
.hb-stage-row h2 { margin: .75rem 0 0 !important; font-size: clamp(2.1rem, 4vw, 3.6rem); }
.hb-stage-row .hb-stage-aim { font-size: 1.2rem; font-weight: 300; opacity: .7; margin: .75rem 0 0; }
.hb-stage-text { min-width: 0; }

/* scene schedule */
.hb-schedule { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--hbc-line); background: var(--hbc-ivory); }
.hb-schedule table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--hbc-mono); font-size: 11px; text-align: left; }
.hb-schedule caption { text-align: left; padding: 1rem 1rem 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--hbc-stone); }
.hb-schedule th { padding: .75rem 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--hbc-bronze-dark); }
.hb-schedule td { padding: .75rem 1rem; border-top: 1px solid var(--hbc-line); color: rgba(42,39,36,.8); font-variant-numeric: tabular-nums; }

/* ---------- systems ---------- */
.hb-systems { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 1024px) { .hb-systems { grid-template-columns: 320px 1fr; gap: 4rem; } }
.hb-sys-list { display: flex; gap: .5rem; overflow-x: auto; margin: 0 calc(var(--hbc-gutter) * -1); padding: 0 var(--hbc-gutter) .5rem; scrollbar-width: thin; }
@media (min-width: 1024px) { .hb-sys-list { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; } }
.hb-sys-list [role="tab"] { flex: none; display: flex; align-items: center; gap: 1rem; white-space: nowrap; border: 1px solid rgba(42,39,36,.15); background: transparent; padding: .75rem 1rem; color: rgba(42,39,36,.6); font: 400 15px var(--hbc-sans); cursor: pointer; text-align: left; transition: all .3s; }
.hb-sys-list [role="tab"][aria-selected="true"] { background: var(--hbc-charcoal); border-color: var(--hbc-charcoal); color: var(--hbc-ivory); }
.hb-sys-no { display: none; font-family: var(--hbc-mono); font-size: 11px; color: var(--hbc-stone); width: 1.5rem; }
@media (min-width: 1024px) {
	.hb-sys-list [role="tab"] { border: 0; border-bottom: 1px solid var(--hbc-line); padding: 1rem 0; font-family: var(--hbc-display); font-size: 1.25rem; }
	.hb-sys-list [role="tab"][aria-selected="true"] { background: transparent; color: var(--hbc-ink); }
	.hb-sys-list [role="tab"][aria-selected="true"] span:last-child { transform: translateX(4px); }
	.hb-sys-list [role="tab"] span:last-child { transition: transform .3s; }
	.hb-sys-no { display: inline; }
}
.hb-sys-panels { min-width: 0; }
.hb-sys-panel { animation: hbFade .45s var(--hbc-ease); }
.hb-sys-panel h3 { font-family: var(--hbc-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 2rem 0 0; }
.hb-sys-dl { display: grid; gap: 2rem; margin: 2rem 0 0; }
@media (min-width: 782px) { .hb-sys-dl { grid-template-columns: repeat(3, 1fr); } }
.hb-sys-dl dd { margin: .75rem 0 0; font-weight: 300; line-height: 1.7; color: rgba(42,39,36,.78); }
.hb-sys-dl dt { color: var(--hbc-bronze-dark); }

/* ---------- associations ---------- */
.hb-assoc { display: grid; gap: 1px; background: rgba(246,241,231,.1); margin-top: clamp(3rem, 6vw, 4rem); margin-bottom: 1rem; }
@media (min-width: 782px) { .hb-assoc { grid-template-columns: 1fr 1fr; } }
.hb-assoc-cell { background: var(--hbc-charcoal); padding: clamp(2rem, 4vw, 3rem); }
.hb-assoc-mark { height: 4rem; display: flex; align-items: center; }
.hb-assoc-word { font-family: var(--hbc-sans); font-size: 2.3rem; font-weight: 500; letter-spacing: .12em; color: var(--hbc-ivory); }
.hb-assoc-logo { max-height: 4rem; width: auto; }
.hb-assoc-cell .hb-eyebrow { margin-top: 1.5rem; }
.hb-assoc-text { margin: 1rem 0 0; font-weight: 300; line-height: 1.7; color: rgba(246,241,231,.72); }

/* ---------- projects ---------- */
.hb-projects .hb-chips { margin-bottom: 3rem; }
.hb-project-grid { display: grid; gap: 3.5rem 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.hb-projects .hb-chips + .hb-project-grid { margin-top: 0; }
@media (min-width: 640px) { .hb-project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hb-project-grid { grid-template-columns: repeat(3, 1fr); } }
.hb-project[hidden] { display: none; }
.hb-project-link { text-decoration: none !important; color: inherit !important; display: block; }
.hb-project .hb-label { margin-top: 1.25rem; }
.hb-project h3 { font-family: var(--hbc-display); font-weight: 400; font-size: 1.6rem; margin: .4rem 0 0; }
.hb-facts { display: grid; grid-template-columns: 110px 1fr; gap: .5rem 1rem; margin: 1.25rem 0 0; font-size: 14px; font-weight: 300; }
.hb-facts dt { color: rgba(42,39,36,.5); }
.hb-facts dd { margin: 0; }
.hb-facts.is-wide { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 782px) { .hb-facts.is-wide { grid-template-columns: repeat(4, 1fr); } }
.hb-facts.is-wide dd { margin-top: .5rem; font-family: var(--hbc-display); font-size: 1.2rem; }
.hb-note { border: 1px dashed rgba(148,111,67,.5); padding: 1rem 1.25rem; color: var(--hbc-bronze-dark); font-size: 14px; font-weight: 300; margin: 0 0 2.5rem; }
.hb-project-hero { position: relative; overflow: hidden; background: var(--hbc-charcoal); color: var(--hbc-ivory); padding: calc(84px + clamp(5rem, 10vw, 9rem)) var(--hbc-gutter) clamp(4rem, 8vw, 7rem); margin: 0 !important; }
.hb-project-hero .hb-plate-bg { position: absolute; inset: 0; opacity: .5; }
.hb-project-hero .hb-plate-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hbc-charcoal), rgba(27,26,24,.5)); }
.hb-project-hero-inner { position: relative; max-width: 1320px; margin: 0 auto; }
.hb-project-hero h1 { font-family: var(--hbc-display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.05; margin: 1.5rem 0 1rem; color: var(--hbc-ivory); }

/* ---------- FAQ ---------- */
.hb-faq { border-top: 1px solid var(--hbc-line); }
.hb-faq-item { border-bottom: 1px solid var(--hbc-line); }
.hb-faq-item h3 { margin: 0; font-size: inherit; }
.hb-faq-item button { display: flex; width: 100%; justify-content: space-between; align-items: flex-start; gap: 1.5rem; background: none; border: 0; padding: 1.5rem 0; text-align: left; cursor: pointer; color: inherit; font-family: var(--hbc-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; }
.hb-faq-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: .25rem; border: 1px solid rgba(42,39,36,.3); border-radius: 50%; font-family: var(--hbc-sans); font-size: 15px; transition: transform .5s var(--hbc-ease); }
.hb-faq-item button[aria-expanded="true"] .hb-faq-icon { transform: rotate(45deg); }
.hb-faq-a { padding: 0 0 2rem; max-width: 62ch; font-weight: 300; line-height: 1.75; color: rgba(42,39,36,.75); }
.hb-faq-a p { margin: 0; }

/* ---------- contact details ---------- */
.hb-contact { font-style: normal; display: grid; gap: .45rem; margin-top: 1.5rem; font-size: 15px; font-weight: 300; }
.hb-dark .hb-contact { color: rgba(246,241,231,.8); }
.hb-contact .hb-placeholder { margin-top: .5rem; }

/* ---------- consultation form ---------- */
.hb-consult-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .hb-consult-grid { grid-template-columns: 1fr 340px; gap: 6rem; } }
.hb-consult-grid[hidden] { display: none; }
.hb-form { min-width: 0; position: relative; }
.hb-form fieldset { border: 0; padding: 0; margin: 0 0 3.5rem; min-width: 0; }
.hb-form legend { font-family: var(--hbc-display); font-size: 2rem; padding: 0; margin-bottom: 1.5rem; }
.hb-grid-2 { display: grid; gap: 2rem; }
.hb-grid-3 { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 782px) { .hb-grid-2 { grid-template-columns: 1fr 1fr; } .hb-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.hb-field { min-width: 0; }
.hb-field label, .hb-field-label { display: block; font-family: var(--hbc-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hbc-stone); }
.hb-field-label { margin: 2.5rem 0 1rem; }
.hb-field input, .hb-field select, .hb-field textarea { width: 100%; box-sizing: border-box; background: transparent; border: 0; border-bottom: 1px solid rgba(42,39,36,.28); border-radius: 0; padding: .75rem 0 .65rem; font: 400 16px/1.5 var(--hbc-sans); color: inherit; }
.hb-field textarea { resize: vertical; }
.hb-field input:focus, .hb-field select:focus, .hb-field textarea:focus { outline: none; border-bottom-color: var(--hbc-bronze); }
.hb-field [aria-invalid="true"] { border-bottom-color: #9B3B2A; }
.hb-form .hb-chips + .hb-field { margin-top: 2.5rem; }
.hb-chip-check { position: relative; cursor: pointer; }
.hb-chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.hb-chip-check span { display: inline-block; border: 1px solid rgba(42,39,36,.22); padding: .6rem 1rem; font-size: 14.5px; transition: all .25s; }
.hb-chip-check input:checked + span { background: var(--hbc-charcoal); border-color: var(--hbc-charcoal); color: var(--hbc-ivory); }
.hb-chip-check input:focus-visible + span { outline: 2px solid var(--hbc-bronze); outline-offset: 2px; }
.hb-consents { display: grid; gap: 1rem; margin-bottom: 1rem !important; }
.hb-check { display: flex; gap: .75rem; align-items: flex-start; font-size: 15px; font-weight: 300; cursor: pointer; }
.hb-check input { margin-top: .3rem; width: 16px; height: 16px; accent-color: var(--hbc-bronze); flex: none; }
.hb-form-error { font-size: 15px; }
.hb-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.hb-submit-row .hb-fine { margin: 0; }
.hb-form-aside { display: grid; gap: 2.5rem; align-content: start; }
@media (min-width: 1024px) { .hb-form-aside { border-left: 1px solid var(--hbc-line); padding-left: 3rem; } }
.hb-aside-title { font-family: var(--hbc-display); font-size: 1.5rem; line-height: 1.3; margin: .75rem 0 1rem; }
.hb-next { margin: 1rem 0 0; padding-left: 1.2rem; font-size: 15px; font-weight: 300; display: grid; gap: .5rem; }
.hb-notice { border-left: 2px solid var(--hbc-bronze); background: rgba(148,111,67,.08); padding: 1rem 1.25rem; margin-bottom: 3rem; }
.hb-confirm { max-width: 48rem; }
.hb-confirm h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 1.25rem 0 0; }
.hb-confirm .hb-lede { font-size: 1.2rem; font-weight: 300; line-height: 1.65; opacity: .8; }
.hb-confirm-grid { display: grid; gap: 1px; background: var(--hbc-line); margin: 2.5rem 0; }
@media (min-width: 640px) { .hb-confirm-grid { grid-template-columns: repeat(3, 1fr); } }
.hb-confirm-grid > div { background: var(--hbc-ivory); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; font-size: 14px; font-weight: 300; }
.hb-confirm-t { font-family: var(--hbc-display); font-size: 1.3rem; margin: 0; }

/* ---------- studio preview mock ---------- */
.hb-mock { border: 1px solid rgba(42,39,36,.15); background: var(--hbc-ivory-deep); box-shadow: 0 40px 80px -40px rgba(27,26,24,.45); }
.hb-mock-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.25rem; border-bottom: 1px solid var(--hbc-line); }
.hb-mock-pill { font-family: var(--hbc-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(216,196,160,.6); padding: .15rem .55rem; border-radius: 99px; }
.hb-mock-body { display: grid; }
@media (min-width: 600px) { .hb-mock-body { grid-template-columns: 150px 1fr; } }
.hb-mock ol { list-style: none; margin: 0; padding: 1.25rem; border-right: 1px solid var(--hbc-line); font-size: 12px; display: none; }
@media (min-width: 600px) { .hb-mock ol { display: block; } }
.hb-mock ol li { padding: .35rem 0; color: rgba(42,39,36,.4); }
.hb-mock ol .is-done { color: rgba(42,39,36,.5); text-decoration: line-through; text-decoration-color: rgba(148,111,67,.5); }
.hb-mock ol .is-current { color: var(--hbc-ink); font-weight: 500; }
.hb-mock-main { padding: 1.5rem; }
.hb-mock-q { font-family: var(--hbc-display); font-size: 1.5rem; margin: 0; }
.hb-mock-sub { font-size: 13px; opacity: .55; margin: .25rem 0 1.25rem; }
.hb-mock .hb-chip { font-size: 13px; padding: .45rem .8rem; cursor: default; }
.hb-mock-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.5rem; }
.hb-mock-bars > div { border: 1px solid var(--hbc-line); background: var(--hbc-ivory); padding: .75rem; }
.hb-mock-bars i { display: block; height: 3px; background: rgba(42,39,36,.1); margin-top: .75rem; }
.hb-mock-bars b { display: block; height: 3px; width: 66%; background: var(--hbc-bronze); }
.hb-mock-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(42,39,36,.4); }
.hb-mock-cta { background: var(--hbc-charcoal); color: var(--hbc-ivory); padding: .55rem 1rem; }

/* ---------- design studio ---------- */
.hb-studio { margin-top: 0 !important; margin-bottom: 0 !important; }
.hb-plate-bg { margin: 0 !important; max-width: none !important; }
.hb-studio-wrap { max-width: calc(1320px + 2 * var(--hbc-gutter)); margin: 0 auto; padding-left: var(--hbc-gutter); padding-right: var(--hbc-gutter); box-sizing: border-box; }
.hb-studio-head { background: var(--hbc-charcoal); color: var(--hbc-ivory); padding: calc(84px + 3.5rem) 0 3rem; }
.hb-studio-head h1 { font-family: var(--hbc-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.05; margin: 1.5rem 0 0; color: var(--hbc-ivory); max-width: 18ch; }
.hb-sheetline { display: flex; align-items: center; gap: 1rem; margin: 0; font-family: var(--hbc-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #BDB6AA; }
.hb-sheetline i { width: 40px; height: 1px; background: rgba(246,241,231,.3); }
.hb-studio-lede { font-size: 1.15rem; font-weight: 300; line-height: 1.65; max-width: 40rem; color: rgba(246,241,231,.72); margin: 1.25rem 0 0; }
.hb-progress { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hb-progress button { display: block; width: 100%; background: none; border: 0; padding: 0; text-align: left; color: rgba(246,241,231,.35); font: 400 12px var(--hbc-sans); cursor: pointer; }
.hb-progress button:disabled { cursor: default; }
.hb-progress i { display: block; height: 3px; background: rgba(246,241,231,.15); transition: background .5s; }
.hb-progress .is-done i { background: var(--hbc-champagne); }
.hb-progress .is-done { color: rgba(246,241,231,.6); }
.hb-progress [aria-current] { color: var(--hbc-ivory); }
.hb-progress span { display: none; margin-top: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 782px) { .hb-progress span { display: block; } }
.hb-progress-mobile { font-size: 13px; color: rgba(246,241,231,.6); margin: .75rem 0 0; }
@media (min-width: 782px) { .hb-progress-mobile { display: none; } }
.hb-studio-body { padding-top: 3.5rem; padding-bottom: 5rem; }
.hb-studio-app { min-height: 24rem; }
.hb-s-view { animation: hbFade .35s var(--hbc-ease); }
.hb-s-head { max-width: 46rem; margin-bottom: 2.5rem; }
.hb-s-head h2 { font-family: var(--hbc-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin: 0; }
.hb-s-head p { font-weight: 300; line-height: 1.7; opacity: .68; margin: .75rem 0 0; }
.hb-s-split { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .hb-s-split { grid-template-columns: 1fr 320px; } .hb-s-split.is-wide { grid-template-columns: 1fr 360px; } }
.hb-s-split > div { min-width: 0; }
.hb-s-aside { border: 1px solid var(--hbc-line); background: var(--hbc-ivory-deep); padding: 1.5rem; align-self: start; }
.hb-s-block { margin-top: 2.5rem; }
.hb-s-block .hb-label { margin-bottom: 1rem; }
.hb-hint { font-size: 13px; color: var(--hbc-bronze-dark); margin: .75rem 0 0; }
.hb-inline-add { display: flex; align-items: flex-end; gap: .75rem; max-width: 28rem; margin-top: 1.5rem; }
.hb-inline-add .hb-field { flex: 1; }
.hb-s-count { margin-top: 3rem !important; }
.hb-room-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1px; background: var(--hbc-line); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hb-room-list li { display: flex; justify-content: space-between; align-items: center; background: var(--hbc-ivory); padding: .9rem 1rem; font-family: var(--hbc-display); font-size: 1.1rem; }
.hb-room-list button { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: rgba(42,39,36,.45); padding: .25rem .5rem; }
.hb-room-list button:hover { color: var(--hbc-ink); }
.hb-matrix-wrap { overflow-x: auto; border: 1px solid var(--hbc-line); }
.hb-matrix { width: 100%; min-width: 900px; border-collapse: collapse; text-align: left; }
.hb-matrix thead th { background: var(--hbc-ivory-deep); padding: 1rem .5rem; vertical-align: bottom; }
.hb-matrix thead th:first-child { padding-left: 1rem; font: 500 12px var(--hbc-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(42,39,36,.6); }
.hb-matrix thead button { background: none; border: 0; padding: 0; text-align: left; font: 500 11px/1.3 var(--hbc-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(42,39,36,.55); cursor: pointer; }
.hb-matrix thead button.is-on { color: var(--hbc-bronze-dark); }
.hb-matrix tbody tr { border-top: 1px solid var(--hbc-line); }
.hb-matrix th[scope="row"] { position: sticky; left: 0; background: var(--hbc-ivory); padding: .75rem 1rem; font: 400 1.05rem var(--hbc-display); z-index: 1; }
.hb-matrix thead th:first-child { position: sticky; left: 0; z-index: 2; }
.hb-matrix td { padding: .6rem .5rem; }
.hb-tick { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(42,39,36,.2); background: transparent; cursor: pointer; transition: all .2s; }
.hb-tick:hover { border-color: var(--hbc-bronze); }
.hb-tick[aria-pressed="true"] { background: var(--hbc-charcoal); border-color: var(--hbc-charcoal); }
.hb-tick[aria-pressed="true"]::after { content: ""; width: 10px; height: 5px; border-left: 1.8px solid var(--hbc-champagne); border-bottom: 1.8px solid var(--hbc-champagne); transform: rotate(-45deg) translate(1px, -1px); }
.hb-scene-grid { display: grid; gap: 1px; background: var(--hbc-line); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hb-scene { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 120px; padding: 1.25rem; background: var(--hbc-ivory); border: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; transition: background .3s, color .3s; }
.hb-scene:hover { background: var(--hbc-ivory-deep); }
.hb-scene i { width: 6px; height: 6px; border-radius: 50%; background: rgba(42,39,36,.2); }
.hb-scene b { display: block; font-family: var(--hbc-display); font-weight: 400; font-size: 1.25rem; }
.hb-scene small { display: block; margin-top: .25rem; font-size: 13px; font-weight: 300; opacity: .6; }
.hb-scene[aria-pressed="true"] { background: var(--hbc-charcoal); color: var(--hbc-ivory); }
.hb-scene[aria-pressed="true"] i { background: var(--hbc-champagne); box-shadow: 0 0 8px var(--hbc-champagne); }
.hb-s-nav { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--hbc-line); margin-top: 3.5rem; padding-top: 2rem; }
.hb-back { background: none; border: 0; cursor: pointer; font: 500 12px var(--hbc-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(42,39,36,.6); }
.hb-back:hover { color: var(--hbc-ink); }
.hb-disclaimer { margin-top: 2rem; max-width: 48rem; font-size: 13px; font-weight: 300; opacity: .5; }
.hb-s-example { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.hb-brief { border: 1px solid rgba(42,39,36,.15); background: rgba(255,255,255,.55); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 40px 80px -50px rgba(27,26,24,.5); margin-top: 2.5rem; }
.hb-brief header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid rgba(42,39,36,.15); padding-bottom: 2rem; }
.hb-brief header h3 { font-family: var(--hbc-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin: .5rem 0 0; }
.hb-brief header p:not(.hb-label) { font-weight: 300; opacity: .65; margin: .5rem 0 0; }
.hb-brief header dl { display: grid; grid-template-columns: auto auto; gap: .5rem 2rem; margin: 0; font-family: var(--hbc-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(42,39,36,.6); }
.hb-brief header dd { margin: 0; color: var(--hbc-ink); }
.hb-brief header dd.is-bronze { color: var(--hbc-bronze-dark); }
.hb-brief section { display: grid; gap: 1rem; border-bottom: 1px solid var(--hbc-line); padding: 1.75rem 0; }
@media (min-width: 782px) { .hb-brief section { grid-template-columns: 180px 1fr; gap: 2rem; } }
.hb-brief section > * { min-width: 0; }
.hb-brief section p { margin: 0; font-weight: 300; }
.hb-brief-k { display: flex; justify-content: space-between; align-items: flex-start; }
@media (min-width: 782px) { .hb-brief-k { display: block; } }
.hb-edit { background: none; border: 0; cursor: pointer; color: var(--hbc-bronze-dark); padding: 0; margin-top: .5rem; }
.hb-brief table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hb-brief table th { width: 11rem; text-align: left; vertical-align: top; padding: .55rem 1rem .55rem 0; font: 400 1rem var(--hbc-display); }
.hb-brief table td { padding: .55rem 0; font-weight: 300; color: rgba(42,39,36,.72); }
.hb-brief table tr { border-bottom: 1px solid rgba(42,39,36,.06); }
.hb-tag { border: 1px solid rgba(42,39,36,.15); padding: .35rem .75rem; font-size: 13px; }
.hb-tag b { font-family: var(--hbc-mono); color: var(--hbc-bronze-dark); font-weight: 400; }
.hb-brief-prefs { display: grid; grid-template-columns: 1fr; gap: .4rem 1rem; margin: 0; font-size: 15px; font-weight: 300; }
@media (min-width: 600px) { .hb-brief-prefs { grid-template-columns: 160px 1fr; } }
.hb-brief-prefs dt { opacity: .5; }
.hb-brief-prefs dd { margin: 0 0 .5rem; white-space: pre-wrap; }
.hb-brief footer { padding-top: 1.5rem; font-size: 12px; font-weight: 300; opacity: .6; }
.hb-actions { display: grid; gap: 1px; background: var(--hbc-line); margin-top: 2rem; }
@media (min-width: 640px) { .hb-actions { grid-template-columns: 1fr 1fr; } }
.hb-action { display: grid; gap: .5rem; align-content: start; background: var(--hbc-ivory); border: 0; padding: 1.6rem; text-align: left; font: inherit; color: inherit; min-width: 0; }
button.hb-action { cursor: pointer; transition: background .3s; }
button.hb-action:hover { background: var(--hbc-ivory-deep); }
.hb-action b { font-family: var(--hbc-display); font-weight: 400; font-size: 1.5rem; }
.hb-action small { font-size: 14px; font-weight: 300; opacity: .62; }
.hb-action.is-muted b { opacity: .55; }
.hb-share-url { width: 100%; box-sizing: border-box; margin-top: .5rem; padding: .5rem; font: 12px var(--hbc-mono); border: 1px solid var(--hbc-line); background: #fff; }
.hb-share-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
.hb-status { margin-top: 1.25rem; color: var(--hbc-bronze-dark); font-size: 14px; }
.hb-s-cta { background: var(--hbc-charcoal); color: var(--hbc-ivory); padding: 2rem; align-self: start; position: sticky; top: 110px; }
.hb-s-cta-t { font-family: var(--hbc-display); font-size: 1.9rem; line-height: 1.15; margin: 1rem 0; }
.hb-s-cta p { font-weight: 300; color: rgba(246,241,231,.68); }
.hb-s-cta .hb-btn { margin-top: 1rem; }

@keyframes hbFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hb-stage-panel, .hb-sys-panel, .hb-s-view { animation: none; } .hb-hero-art .hb-l { transition: none; } }

/* editor preview */
.hb-editor-block .hb-hero { min-height: 640px; }
