/* Hub · hero — the control plane: text on paper, an edge-bleed ink panel with the live topology. */
.tih-hero{position:relative;overflow:hidden;isolation:isolate;padding-block:var(--bdh-hero-t) var(--band);background:var(--paper)}
.tih-hero__bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
.tih-hero__grid{position:absolute;inset:0;background-image:radial-gradient(var(--dot) 1px,transparent 1.2px);background-size:22px 22px;opacity:.7;
  -webkit-mask-image:radial-gradient(60% 75% at 0% 0%,#000 0%,transparent 72%);mask-image:radial-gradient(60% 75% at 0% 0%,#000 0%,transparent 72%)}

.tih-hero__in{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--bdh-gap);align-items:center}

/* ---- text ---- */
.tih-hero__text{grid-column:1 / span 5;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.tih-hero__text>.lbl{margin-bottom:24px}
.tih-hero__h{font-size:clamp(2.3rem,4.3vw,3.85rem);line-height:1.03;letter-spacing:-.034em;max-width:13ch;margin-bottom:clamp(24px,2.4vw,32px)}
.tih-hero__lead{max-width:46ch;margin-bottom:clamp(32px,3vw,40px)}
.tih-hero__act{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:clamp(40px,4vw,56px)}
.tih-hero__proof{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;width:100%;max-width:520px;padding-top:20px;border-top:1px solid var(--line-2)}
.tih-hero__proof>div{padding-right:22px;margin-right:22px;border-right:1px solid var(--line-2)}
.tih-hero__proof>div:last-child{padding-right:0;margin-right:0;border-right:0}
.tih-hero__proof dt{font-family:var(--f);font-size:var(--t-lbl);letter-spacing:.14em;text-transform:uppercase;color:var(--faint);line-height:1}
.tih-hero__proof dd{margin-top:10px;font-family:var(--f);font-size:var(--t-xs);font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);line-height:1.2;white-space:nowrap}

/* ---- visual: photo tucked under the panel's top-left corner, panel bleeding to the right edge ---- */
.tih-hero__vis{grid-column:6 / -1;position:relative;min-width:0;margin-right:calc(var(--tih-bleed) * -1);padding:clamp(44px,4.2vw,64px) 0 0 clamp(52px,5.6vw,96px)}
.tih-hero__photo{position:absolute;left:0;top:0;z-index:0;width:clamp(150px,14.5vw,212px);aspect-ratio:4/5;border-radius:var(--r-lg)}
.tih-hero__photo img{object-position:50% 40%}
.tih-hero__panel{position:relative;z-index:1;display:flex;flex-direction:column;min-width:0;border-radius:var(--r-xl) 0 0 var(--r-xl);background:var(--ink);color:var(--on-ink-2);
  box-shadow:0 30px 80px -40px rgba(25,25,29,.55)}

.tih-hero__bar{display:flex;align-items:center;gap:12px;height:48px;padding:0 24px 0 20px;border-bottom:1px solid var(--on-ink-line);
  font-family:var(--f);font-size:var(--t-lbl);letter-spacing:.06em;color:var(--on-ink-3);white-space:nowrap;min-width:0}
.tih-hero__bar .bdh-ui__dots i{background:var(--on-ink-line)}
.tih-hero__title{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--on-ink-2)}
.tih-hero__title i{font-style:normal;color:var(--on-ink-3)}
.tih-hero__env{padding:3px 8px;border-radius:var(--r-pill);border:1px solid var(--on-ink-line);color:var(--on-ink-2)}
.tih-hero__ill{margin-left:auto;padding:3px 8px;border-radius:var(--r-pill);border:1px dashed var(--on-ink-line);text-transform:uppercase;letter-spacing:.12em}

/* ---- topology ---- */
.tih-hero__map{position:relative;padding:18px clamp(14px,2vw,28px) 14px}
.tih-hero__band{fill:rgba(255,255,255,.028)}
.tih-hero__band.is-alt{fill:rgba(255,255,255,.012)}
.tih-hero__edge{fill:none;stroke:rgba(255,255,255,.24);stroke-width:1.6;stroke-linecap:round;transition:stroke .45s var(--e),stroke-dashoffset 1.2s var(--e) calc(var(--i,0) * 60ms)}
.tih-hero__edge.is-hot{stroke:var(--blue)}
.tih-hero__pk{fill:none;stroke:var(--blue);stroke-width:10;stroke-linecap:round;stroke-dasharray:.001 1;opacity:0}
.tih-hero__lane{position:absolute;left:1.4%;top:calc(var(--y) * 1%);z-index:1;display:inline-flex;align-items:center;gap:8px;
  font-family:var(--f);font-size:var(--t-lbl);letter-spacing:.12em;text-transform:uppercase;color:var(--on-ink-3);white-space:nowrap;line-height:1}
.tih-hero__lane b{font-weight:500;color:var(--on-ink-2)}

.tih-hero__node{font-size:var(--t-xs)}
.tih-hero__node::after{content:"";position:absolute;inset:-1px;border-radius:inherit;border:1.5px solid var(--blue);opacity:0;pointer-events:none}
.tih-hero__node.is-hit{border-color:var(--blue)}
.tih-hero__node.is-hit b{background:var(--blue);color:#fff}
.tih-hero__node.is-hit::after{animation:tih-hero-hit .8s var(--e) both}
@keyframes tih-hero-hit{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.18,1.7)}}

/* ---- status bar ---- */
.tih-hero__status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--on-ink-line)}
.tih-hero__status>div{min-width:0;padding:14px 20px 16px;border-left:1px solid var(--on-ink-line)}
.tih-hero__status>div:first-child{border-left:0}
.tih-hero__status dt{font-family:var(--f);font-size:var(--t-lbl);letter-spacing:.12em;text-transform:uppercase;color:var(--on-ink-3);line-height:1;white-space:nowrap}
.tih-hero__status dd{margin-top:8px;font-family:var(--f);font-size:var(--t-lbl);letter-spacing:.02em;color:var(--on-ink-3);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tih-hero__status b{font-size:1rem;font-weight:500;letter-spacing:-.01em;color:var(--on-ink);font-variant-numeric:tabular-nums;transition:opacity .25s var(--e)}
.tih-hero__status b.is-tick{opacity:.45}

/* ---- entrance (skipped under reduced motion) ---- */
@media (prefers-reduced-motion:no-preference){
  .tih-hero__up{animation:tih-hero-up .7s var(--e) both;animation-delay:calc(var(--i,0) * 70ms + 80ms)}
  .tih-hero__photo{animation:tih-hero-in .9s var(--e) .15s both}
  .tih-hero__panel{animation:tih-hero-in .9s var(--e) .25s both}
  .tih-hero__node,.tih-hero__lane{animation:tih-hero-fade .6s var(--e) both;animation-delay:calc(var(--i,0) * 160ms + 500ms)}
  .tih-hero__lane{animation-delay:calc(var(--y) * 12ms + 420ms)}
}
@keyframes tih-hero-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes tih-hero-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes tih-hero-fade{from{opacity:0}to{opacity:1}}

/* ---- responsive ---- */
@media (max-width:1379px){.tih-hero__env{display:none}}
@media (max-width:1199px){
  .tih-hero__text{grid-column:1 / -1}
  .tih-hero__h{max-width:16ch}
  .tih-hero__lead{max-width:56ch}
  .tih-hero__vis{grid-column:1 / -1;margin-top:clamp(48px,7vw,72px);padding:0}
  .tih-hero__photo{display:none}
}
@media (max-width:760px){
  .tih-hero__node{gap:0;height:26px;padding:0 3px}
  .tih-hero__node b{min-width:20px;height:20px}
  .tih-hero__node>span{display:none}
  .tih-hero__lane{font-size:9px;letter-spacing:.08em;gap:6px}
  .tih-hero__status{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tih-hero__status>div:nth-child(3){border-left:0}
  .tih-hero__status>div:nth-child(n+3){border-top:1px solid var(--on-ink-line)}
  .tih-hero__title,.tih-hero__ill{display:none}
  .tih-hero__bar .tih-live{margin-left:auto}
}
@media (max-width:600px){
  .tih-hero__h{font-size:clamp(2.05rem,9.2vw,2.5rem)}
  .tih-hero__act .btn--lg{height:46px;padding:0 20px;font-size:var(--t-sm)}
  .tih-hero__proof{grid-template-columns:minmax(0,1fr);row-gap:12px}
  .tih-hero__proof>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:0;margin:0;border:0}
  .tih-hero__proof dd{margin-top:0}
  .tih-hero__map{padding:12px 10px 8px}
  .tih-hero__status>div{padding:12px 14px}
  .tih-hero__bar{padding:0 16px}
}
@media (prefers-reduced-motion:reduce){
  .tih-hero__edge{transition:none}
  .tih-hero__status b{transition:none}
}
