/* public_home.css — the homepage's own layer (public-website-homepage-redesign-v1; repair 2026-10-14). Linked by
   landing.html only; tokens from tokens.css, tbp-* from components.css. Prefix: tbh-. */

.tbh-pick { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 440px); padding: 4px; border: 1.5px solid var(--tb-line-2); border-radius: 999px; background: #fff; }
.tbh-pick::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--tb-ink); transform: translateX(calc(var(--tbh-i, 0) * 100%)); transition: transform 300ms var(--tb-ease); }
.tbh-pick[data-on="projects"] { --tbh-i: 1; }
html:not(.motion-ok) .tbh-pick::before { transition: none; }
.tbp a.tbh-tab, .tbp a.tbh-tab:hover { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 999px; color: var(--tb-ink-2); font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: color 200ms var(--tb-ease), background-color 200ms var(--tb-ease); }
.tbp a.tbh-tab[aria-selected="true"] { color: #fff; }
.tbp a.tbh-tab:not([aria-selected="true"]):hover { color: var(--tb-ink); background: #0b0b0b0d; }
.tbp a.tbh-tab:focus-visible { outline-offset: 3px; }
.tbh-tab .tb-bolt { flex: none; width: 14px; height: 14px; }
.tbh-tab .tb-bolt path { fill: var(--tb-ink); transition: fill 200ms var(--tb-ease); }
.tbh-tab[aria-selected="true"] .tb-bolt path { fill: var(--tb-bolt); }
@media (max-width: 379px) { .tbp a.tbh-tab { font-size: 14px; padding: 8px; } }

.tbh-stack { display: grid; grid-template-areas: "s"; }
.tbh-stack > [data-for] { grid-area: s; min-width: 0; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity 300ms var(--tb-ease), transform 300ms var(--tb-ease), visibility 0s linear 300ms; }
.tbh-stack > [data-for].is-on { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
html:not(.motion-ok) .tbh-stack > [data-for] { transition: none; transform: none; }
.tbp [data-for][hidden] { display: none; }
html.motion-ok .tbp .tbh-in { animation: tbh-rise-in 260ms var(--tb-ease) both; }
@keyframes tbh-rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tbh-copy { display: grid; gap: 24px; align-content: start; }
.tbh-story { display: grid; gap: 22px; }
.tbh-story h1 { max-width: 12ch; }
.tbh-cap { max-width: 56ch; }
@media (max-width: 767px) {
  .tbp-hero { padding: 28px 0 24px; }
  .tbp-hero-grid { gap: 18px; }
  .tbh-copy { gap: 14px; }
  .tbh-story { gap: 12px; }
  .tbh-story .tbp-eyebrow { font-size: 13px; }
  .tbh-story .tbp-trust { display: none; } .tbh-story .tbp-chips .tbp-chips-lbl { display: none; } .tbh-story .tbp-chips button { padding: 8px 12px; font-size: 14px; }
}

.tbh-scene { position: relative; height: 560px; --px: 0px; --py: 0px; }
@media (max-width: 1023px) { .tbh-scene { height: 470px; max-width: 560px; margin: 0 auto; } }
@media (max-width: 767px) { .tbh-scene { height: 380px; } }
@media (max-width: 479px) { .tbh-scene { height: 340px; } }
.tbh-scene .tbh-mark { position: absolute; left: 0; top: 0; z-index: 1; width: auto; height: 100%; }
.tbh-media { position: absolute; inset: 0 0 4% 0; z-index: 0; overflow: hidden; border-radius: 28px; background: #fff; }
.tbh-media video, .tbh-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.tbh-scene.has-media .tbh-layer, .tbh-scene.has-media .tbh-path { display: none; }
.tbh-scene.has-media .tbh-mark { height: 54%; top: auto; bottom: 6%; left: 2%; filter: drop-shadow(0 10px 18px #0b0b0b2e); }
.tbh-path { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tbh-path path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tbh-path .tbh-path-edge { stroke: var(--tb-ink); stroke-width: 13; }
.tbh-path .tbh-path-core { stroke: var(--tb-bolt); stroke-width: 7; }
.tbh-path .tbh-path-end { fill: var(--tb-bolt); stroke: var(--tb-ink); stroke-width: 3; vector-effect: non-scaling-stroke; transform-origin: center; transform-box: fill-box; }
html.js.motion-ok .tbh-path path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: tbh-draw 900ms var(--tb-ease) 260ms forwards; }
html.js.motion-ok .tbh-path .tbh-path-end { opacity: 0; animation: tbh-pop 300ms var(--tb-ease) 1100ms forwards; }
@keyframes tbh-draw { to { stroke-dashoffset: 0; } }
@keyframes tbh-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.tbh-layer { position: absolute; z-index: 3; translate: calc(var(--px) * var(--d, 1)) calc(var(--py) * var(--d, 1)); transition: translate 500ms var(--tb-ease); }
.tbh-l1 { left: 3%; top: 3%; width: 25%; --d: -0.8; }
.tbh-l2 { left: 27%; top: 11%; width: 29%; --d: 0.5; }
.tbh-l3 { left: 55%; top: 0; width: 25%; --d: -0.4; }
.tbh-clip { display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14% / 8%; background: var(--tb-ink); box-shadow: 0 18px 40px #0b0b0b3d; }
.tbh-l1 .tbh-clip { transform: rotate(-7deg); }
.tbh-l3 .tbh-clip { transform: rotate(6deg); }
.tbh-clip svg { display: block; width: 100%; height: 100%; }
html.js.motion-ok .tbh-scene .tbh-clip { animation: tbh-drift 7s ease-in-out infinite; }
html.js.motion-ok .tbh-scene .tbh-l2 .tbh-clip { animation-delay: -2.4s; }
html.js.motion-ok .tbh-scene .tbh-l3 .tbh-clip { animation-delay: -4.7s; }
html.js.motion-ok .tbh-scene.is-off .tbh-clip, html.js.motion-ok .tbh-scene.is-still .tbh-clip { animation-play-state: paused; }
@keyframes tbh-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.tbh-panel-stack { position: absolute; right: 0; bottom: 0; z-index: 4; width: 70%; }
.tbh-panel-stack > .tbh-panel { align-self: end; }
.tbh-panel { display: grid; align-content: start; gap: 10px; padding: 14px; border: 1.5px solid var(--tb-line-2); border-radius: 18px; background: #fff; color: var(--tb-ink-2); font: 500 11.5px/1.35 var(--font-sans); box-shadow: 0 24px 50px #0b0b0b2e; }
.tbh-panel .tbp-pt-bar img { width: auto; height: 18px; }
.tbh-panel h4 { margin: 0; color: var(--tb-ink); font-size: 14px; letter-spacing: -0.02em; }
.tbh-panel .tbp-chart svg { height: 54px; }
.tbh-panel .tbp-pv { width: 100%; padding: 11px 10px; font-size: 11.5px; text-align: center; }
.tbh-panel .tbp-link { display: inline-flex; align-items: center; min-height: 24px; padding: 0 2px; }
@media (max-width: 767px) { .tbh-panel { padding: 12px; font-size: 11px; } .tbh-panel .tbp-tile b { font-size: 14px; } }
html.js.motion-ok .tbh-scene .tbh-mark { animation: tbp-rise 500ms var(--tb-ease) both; }
html.js.motion-ok .tbh-scene .tbh-layer { animation: tbp-rise 500ms var(--tb-ease) both; }
html.js.motion-ok .tbh-scene .tbh-l2 { animation-delay: 80ms; }
html.js.motion-ok .tbh-scene .tbh-l3 { animation-delay: 160ms; }
html.js.motion-ok .tbh-scene .tbh-panel-stack { animation: tbp-rise 500ms var(--tb-ease) 240ms both; }
.tbh-scene-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 16px; }
@media (max-width: 767px) { .tbh-scene-foot { margin-top: 10px; } }
.tbh-still { padding: 0; border: 0; background: none; color: var(--tb-ink-2); font: 600 13px/1.4 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tbp .tbh-still { display: inline-block; margin: -3px 0; padding: 3px 0; }
html:not(.js) .tbh-still, html:not(.motion-ok) .tbh-still { display: none; }

.tbh-walk { display: grid; gap: 40px; }
@media (min-width: 1024px) { .tbh-walk { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: 56px; } }
.tbh-walk-frame { display: none; }
@media (min-width: 1024px) {
  .tbh-walk-frame { display: block; position: sticky; top: calc(var(--tb-header-h) + 28px); }
  .tbh-shot-inline { display: none; }
}
.tbh-frame { padding: 8px; border-radius: 14px; background: var(--tb-ink); box-shadow: 0 20px 50px #0b0b0b2e; }
.tbh-frame-bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.tbh-frame-bar i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.tbh-frame-in { display: grid; grid-template-areas: "a"; overflow: hidden; border-radius: 8px; background: #fff; }
.tbh-frame-in > [data-step] { grid-area: a; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 260ms var(--tb-ease), transform 260ms var(--tb-ease), visibility 0s linear 260ms; }
.tbh-frame-in > [data-step].is-on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
html:not(.motion-ok) .tbh-frame-in > [data-step] { transition: none; transform: none; }
.tbh-frame-cap { margin-top: 12px; color: var(--tb-ink-3); font-size: 13px; }
.tbh-steps { position: relative; display: grid; margin-top: 28px; padding: 0 0 0 44px; list-style: none; counter-reset: tbh-s; }
.tbh-steps::before { content: ''; position: absolute; left: 13px; top: 20px; bottom: 20px; width: 3px; border-radius: 2px; background: var(--tb-line); }
.tbh-fill { position: absolute; left: 13px; top: 20px; width: 3px; height: calc(100% - 40px); border-radius: 2px; background: var(--tb-bolt); transform-origin: top; transform: scaleY(var(--tbh-p, 0)); transition: transform 160ms linear; }
html:not(.motion-ok) .tbh-fill { transition: none; }
.tbh-step { position: relative; padding: 18px 0 22px; counter-increment: tbh-s; }
.tbh-step::before { content: counter(tbh-s); position: absolute; left: -44px; top: 16px; width: 30px; height: 30px; border: 2px solid var(--tb-line-2); border-radius: 50%; background: #fff; color: var(--tb-ink); font: 800 13px/26px var(--font-sans); text-align: center; transition: background-color 200ms var(--tb-ease), border-color 200ms var(--tb-ease), color 200ms var(--tb-ease), box-shadow 200ms var(--tb-ease); }
.tbh-step.is-on::before { border-color: var(--tb-bolt); background: var(--tb-bolt); }
.tbh-step.is-now::before { border-color: var(--tb-ink); background: var(--tb-ink); color: #fff; box-shadow: 0 0 0 4px #fbd70073; }
@media (hover: hover) { .tbh-step:hover::before { border-color: var(--tb-ink); } .tbh-step:hover .tbh-step-btn b { text-decoration: underline; text-decoration-color: var(--tb-bolt); text-decoration-thickness: 3px; text-underline-offset: 4px; } }
.tbh-step-btn:focus-visible b { text-decoration: underline; text-decoration-color: var(--tb-bolt); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tbh-step-btn { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--tb-ink); font: inherit; text-align: left; cursor: pointer; }
.tbh-step-btn b { display: block; font-size: 20px; letter-spacing: -0.015em; }
.tbh-step > p { max-width: 54ch; margin-top: 4px; color: var(--tb-ink-2); font-size: 16px; }
.tbh-shot-inline { margin-top: 14px; }
@media (max-width: 767px) { .tbh-steps { margin-top: 20px; padding-left: 40px; } .tbh-step { padding: 14px 0 16px; } .tbh-step::before { left: -40px; } .tbh-step > p { font-size: 15px; } }
.tbh-ui { display: grid; align-content: start; gap: 12px; padding: 18px; color: var(--tb-ink-2); font: 500 12px/1.35 var(--font-sans); }
.tbh-shot-inline .tbh-ui { border: 1.5px solid var(--tb-line-2); border-radius: 14px; background: #fff; }
.tbh-ui-ar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 10px; }
.tbh-walk-frame .tbh-ui { box-sizing: border-box; height: 100%; align-content: center; padding: 24px; font-size: 13px; gap: 14px; }
.tbh-walk-frame .tbh-act, .tbh-walk-frame .tbh-res { padding: 14px; gap: 12px; }
.tbh-walk-frame .tbh-ui .tbp-tiles b { font-size: 22px; }
.tbh-walk-frame .tbh-ui .tbp-dnote { font-size: 12px; }
.tbh-walk-frame .tbh-ui .tbp-list > div { padding: 9px 0; font-size: 12px; }
.tbh-walk-frame .tbh-ui .tbp-detail { font-size: 12px; }
@media (max-width: 599px) { .tbh-ui-ar { grid-template-columns: minmax(0, 1fr); } .tbh-arrow { justify-self: center; transform: rotate(90deg); } }
@media (min-width: 1024px) and (max-width: 1199px) { .tbh-ui-ar { grid-template-columns: minmax(0, 1fr); } .tbh-arrow { justify-self: center; transform: rotate(90deg); } }
.tbh-act, .tbh-res { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 12px; border: 1.5px solid var(--tb-line); border-radius: 12px; }
.tbh-res { border-color: var(--tb-bolt); background: #FFFDF0; }
.tbh-tag { justify-self: start; padding: 4px 7px; border-radius: 5px; background: var(--tb-tint); color: var(--tb-ink); font: 700 9.5px/1 var(--font-sans); letter-spacing: .05em; text-transform: uppercase; }
.tbh-tag-y { background: var(--tb-bolt); }
.tbh-arrow { align-self: center; width: 26px; height: 26px; }
.tbh-arrow svg { display: block; width: 100%; height: 100%; }
.tbh-ui .tbp-list > div { grid-template-columns: minmax(0, 1fr) auto auto; }
.tbh-ui .tbp-list > div > span:first-child { min-width: 0; }
.tbh-ui .tbp-list > div.tbh-row-on { margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; background: var(--tb-tint); }
.tbh-ui .tbp-tiles { grid-template-columns: repeat(2, 1fr); }
.tbh-ui .tbp-dnote { font-size: 11px; }
.tbh-ui .tbp-pv { justify-self: start; }
.tbh-chip-y { background: var(--tb-bolt); border-color: var(--tb-bolt); }
.tbh-chip-k { background: var(--tb-ink); border-color: var(--tb-ink); color: #fff; }
.tbh-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.tbh-input { overflow: hidden; padding: 8px 10px; border: 1.5px solid var(--tb-line-2); border-radius: 8px; color: var(--tb-ink-3); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.tbh-seg-still { justify-self: start; }
.tbh-seg-still span { padding: 7px 9px; border-right: 1.5px solid var(--tb-line-2); color: var(--tb-ink-2); font: 700 11px/1 var(--font-sans); }
.tbh-seg-still span:last-child { border-right: 0; }
.tbh-seg-still .tbh-seg-on { background: var(--tb-bolt); color: var(--tb-ink); }

.tbh-demo-lede { margin-top: 18px; font-size: 18px; }

.tbh-why { display: grid; gap: 28px; }
@media (min-width: 768px) { .tbh-why { grid-template-columns: 1fr 1fr; gap: 36px 48px; } }
@media (max-width: 767px) { .tbh-why { gap: 22px; } }
.tbh-why > div { display: grid; align-content: start; gap: 8px; padding-top: 16px; border-top: 3px solid var(--tb-ink); transition: transform 200ms var(--tb-ease), border-color 200ms var(--tb-ease); }
.tbh-why > div.tbh-y { border-top-color: var(--tb-bolt); }
@media (hover: hover) { .tbh-why > div:hover { transform: translateY(-3px); border-top-color: var(--tb-bolt); } }
.tbh-why > div:focus-within { transform: translateY(-3px); border-top-color: var(--tb-bolt); }
html:not(.motion-ok) .tbh-why > div { transition: none; }
.tbh-why b { font-size: 20px; letter-spacing: -0.015em; }
.tbh-why p { color: var(--tb-ink-2); font-size: 17px; }
.tbh-more { display: inline-flex; align-items: center; gap: 6px; color: var(--tb-ink); font-size: 15px; font-weight: 600; }
.tbh-more::after { content: '→'; transition: transform 200ms var(--tb-ease); }
.tbh-why > div:hover .tbh-more::after, .tbh-more:focus-visible::after { transform: translateX(4px); }
.tbp a.tbh-more { display: inline-block; margin: -3px 0; padding: 3px 0; }

.tbh-qa { display: grid; gap: 40px; }
@media (min-width: 1024px) { .tbh-qa { grid-template-columns: 5fr 7fr; align-items: start; gap: 72px; } }
@media (max-width: 767px) { .tbh-qa { gap: 28px; } }
.tbh-next { display: grid; align-content: start; gap: 18px; }
.tbh-next p { color: var(--tb-ink-2); font-size: 17px; max-width: 40ch; }
.tbh-next .tbp-row { margin-top: 6px; }
.tbp-faq summary { transition: color 150ms var(--tb-ease); }
@media (hover: hover) { .tbp-faq summary:hover::after { transform: scale(1.15); } .tbp-faq details[open] summary:hover::after { transform: rotate(45deg) scale(1.15); } }

@media (max-width: 767px) { .tbp .tbp-section { padding: 56px 0; } .tbp .tbp-section.tbp-after-hero { padding-top: 28px; } .tbp .tbp-section.tbp-rely-band { padding: 48px 0; } }
