/* Hero proof: readable native diagram and a player loaded only on request. */
.hero-layout { min-height:0; gap:20px; }
.hero-text { padding:26px 0 20px; }
.hero-text > p { max-width:740px; }
.hero-visual { margin-right:0; align-self:stretch; justify-content:flex-end; }
.hero-pfp { width:420px; height:380px; }
.hero h1 { font-size:46px; line-height:1.08; margin-bottom:18px; }
.hero h1 br { display:none; }
.hero-eyebrow { margin-bottom:12px; font-size:12px; }
.hero p.hero-slogan { margin-bottom:14px; }
.hero p.hero-contact { margin:14px 0 0; }
.hero .hero-support { white-space:normal; }
.hero p.hero-support { font-size:12px; margin:12px 0 0; padding:0; }
.hero-proof-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:8px 0 28px; }
.hero-proof-card { min-width:0; border:1px solid var(--border); background:var(--bg-card,var(--bg)); padding:20px; border-radius:10px; }
.hp-card-head { margin-bottom:16px; }
.hp-eyebrow { display:block; color:var(--brand-ink); font:600 11px/1.4 "Inter",sans-serif; letter-spacing:.09em; }
.hero .hp-card-head h2 { font:700 24px/1.2 "Inter",sans-serif; margin:7px 0 0; letter-spacing:-.02em; }
.hero-demo-open { display:block; position:relative; overflow:hidden; border-radius:6px; border:1px solid var(--border); background:#f5f2eb; aspect-ratio:16/9; color:#142b24; }
.hero-demo-open img { display:block; width:100%; height:100%; object-fit:cover; }
.hp-play { position:absolute; left:14px; top:14px; display:grid; place-items:center; padding-left:4px; width:48px; height:48px; border-radius:50%; background:#00c8a8; color:#063a30; box-shadow:0 2px 18px #102d292e; font-size:25px; transition:background .2s; }
.hero-demo-open:hover .hp-play { background:#43dec1; }
.hp-play-label { position:absolute; top:21px; left:73px; background:#17362e; color:#fff; border-radius:4px; padding:8px 12px; font:600 13px/1.3 "Inter",sans-serif; }
.hero p.hp-description { font-size:14px; line-height:1.55; margin:14px 0 10px; max-width:none; }
.hp-case-link { font-size:14px; font-weight:600; }
.temporal-graph { color:#202821; background:#fbf9f3; border-radius:6px; padding:12px 8px; border:1px solid #dedbd1; }
.tg-svg { display:block; width:100%; height:auto; }
.tg-time-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px; padding:8px 0; font:500 12px/1.4 "Inter",sans-serif; }
.tg-time-controls > span { margin-right:4px; }
.tg-time-controls button { min-height:36px; border:1px solid #c6c8bb; background:transparent; color:#354239; border-radius:5px; padding:6px 10px; font:inherit; cursor:pointer; }
.tg-time-controls button[aria-pressed=true] { background:#126e5c; color:#fff; border-color:#126e5c; }
.tg-time-controls .tg-pause { border-color:transparent; text-decoration:underline; text-underline-offset:3px; min-width:64px; }
.hero .temporal-graph p { max-width:none; text-align:center; margin:0; }
.hero p.tg-answer { font-size:14px; font-weight:700; color:#202821; padding:5px 2px 8px; }
.hero p.tg-explanation { font-size:13px; color:#555c53; line-height:1.5; padding:0 8px; }
.hero p.tg-disclosure { font-size:11px; color:#626358; padding-top:10px; }
.hero-proof-card [hidden],.hero-demo-dialog [hidden] { display:none!important; }
.hero-proof-card a:focus-visible,.hero-proof-card button:focus-visible,.hero-demo-dialog a:focus-visible,.hero-demo-dialog button:focus-visible { outline:3px solid #138675; outline-offset:4px; }
.hero-demo-dialog { width:min(1100px,calc(100vw - 40px)); max-height:calc(100dvh - 40px); padding:20px; border:1px solid var(--border); border-radius:12px; background:var(--bg); color:var(--text); margin:auto; overflow:auto; }
.hero-demo-dialog::backdrop { background:rgba(9,19,16,.78); }
.hp-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.hp-dialog-header h2 { font:600 18px/1.3 "Inter",sans-serif; margin:0; }
.hp-dialog-close { flex-shrink:0; cursor:pointer; color:var(--text); border:1px solid var(--border); border-radius:6px; padding:8px 12px; background:var(--bg); font:500 14px "Inter",sans-serif; }
.hp-dialog-close span { font-size:22px; margin-left:8px; vertical-align:-1px; }
.hero-demo-dialog video { max-height:calc(100dvh - 220px); }
.hero-demo-dialog figcaption { max-width:85ch; }
.hp-dialog-actions { display:flex; gap:12px 28px; flex-wrap:wrap; margin-top:18px; font-size:14px; font-weight:600; }
.hp-video-error { font-size:14px; }
@media(min-width:961px) and (max-width:1240px) { .hero-pfp { width:335px; height:340px; object-fit:cover; } .hero h1 { font-size:40px; } .hero-text > p { font-size:15px; } }
@media(max-width:960px) { .hero { padding:24px 20px 0; } .hero-layout { display:grid; grid-template-columns:1fr 170px; text-align:left; align-items:start; gap:20px; } .hero-visual { grid-column:2; grid-row:1; margin:0; justify-content:flex-start; } .hero-pfp { width:170px; height:190px; border-radius:8px; mask-image:none; -webkit-mask-image:none; } .hero-text { grid-column:1; grid-row:1; padding:0; } .hero h1 { font-size:34px; } .hero-proof-grid { margin-top:24px; gap:16px; } .hero-proof-card { padding:16px; } .hero .hp-card-head h2 { font-size:21px; } .hp-eyebrow { font-size:10px; } .tg-time-controls { font-size:11px; } .hero p.tg-explanation { font-size:12px; } }
@media(max-width:700px) { .hero-layout { display:block; } .hero-visual { float:right; margin:0 0 12px 14px; } .hero-pfp { width:110px; height:130px; } .hero-text { display:block; } .hero-eyebrow { max-width:none; font-size:10px; letter-spacing:.07em; } .hero h1 { font-size:32px; margin:14px 0; } .hero-text > p { font-size:15px; } .hero p.hero-slogan { clear:both; } .hero-proof-grid { grid-template-columns:1fr; clear:both; } .hero .hp-card-head h2 { font-size:22px; } .hero-proof-card { padding:16px; } .hp-eyebrow { font-size:11px; } .tg-time-controls { font-size:12px; } .hero p.tg-explanation { font-size:13px; } .hero-demo-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); padding:14px; } .hp-dialog-header h2 { font-size:15px; } .hp-dialog-close { font-size:12px; padding:7px 9px; } .hp-dialog-actions { font-size:13px; gap:14px; } }
@media(prefers-reduced-motion:reduce) { .hp-play { transition:none; } }

/* Reflow the graph labels instead of shrinking SVG text on a phone. */
.tg-mobile { display:none; }
@media(max-width:960px) { .hero-proof-grid { grid-template-columns:1fr; } }
@media(max-width:700px) {
  .tg-svg { display:none; }
  .tg-mobile { display:block; padding:8px 2px 12px; font-family:"Inter",sans-serif; }
  .tg-mobile-entities { display:flex; align-items:center; justify-content:space-between; gap:6px; }
  .tg-mobile-entities strong { border:1px solid #d9d8cc; border-radius:6px; padding:10px 7px; font-size:14px; }
  .tg-mobile-entities > span { font-size:11px; white-space:nowrap; }
  .tg-mobile-relation { position:relative; font-size:12px; text-align:center; padding:19px 0 12px; }
  .tg-mobile-relation::before { content:""; position:absolute; right:22%; top:0; height:13px; border-left:2px solid #c0c6b9; }
  .tg-mobile-facts { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:10px; padding-top:14px; }
  .tg-mobile-facts::before { content:""; position:absolute; left:24%; right:24%; top:0; height:14px; border:2px solid #c0c6b9; border-bottom:0; border-radius:6px 6px 0 0; }
  .tg-mobile .tg-fact { border:1px solid #d9d8cc; border-radius:6px; padding:10px 8px; display:flex; flex-direction:column; gap:8px; background:#fbf9f3; transition:background .6s,border-color .6s; }
  .tg-mobile .tg-fact.tg-selected { border-color:#087c68; background:#e3f1e9; box-shadow:inset 0 0 0 1px #087c68; }
  .tg-mobile .tg-fact > span { font-size:12px; white-space:nowrap; }
  .tg-mobile .tg-fact > strong { font-size:23px; }
  .tg-mobile .tg-fact > small { font-size:12px; line-height:1.4; color:#555c53; }
}
@media(prefers-reduced-motion:reduce) { .tg-mobile .tg-fact { transition:none; } }

.tg-status { position:absolute!important; width:1px; height:1px; padding:0!important; margin:-1px!important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
/* Keep the primary contact action and language switch inside narrow viewports. */
@media(max-width:420px) { .nav-cta-linkedin-m { display:none; } }
