.hf-app-portfolio { scroll-margin-top:100px; }
.hf-app-portfolio #hf-app-title { margin:0 0 22px; font-size:clamp(2rem,4.6vw,3.8rem); line-height:1.04; letter-spacing:-.045em; }
.hf-app-exhibit { display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); overflow:hidden; isolation:isolate; border:1px solid #2b4b65; border-radius:32px; background:#0b2033; color:#f5f9ff; }
.hf-app-exhibit[data-product="tv"] { background:#101e37; }
.hf-app-info { padding:clamp(28px,5vw,72px); padding-right:0; align-self:center; z-index:1; }
.hf-app-products { display:inline-grid; grid-template-columns:1fr 1fr; max-width:100%; padding:4px; border:1px solid #365670; border-radius:16px; background:#081827; }
.hf-app-products button,.hf-app-views button { appearance:none; border:0; background:transparent; color:#bdd2e7; cursor:pointer; font:inherit; font-size:.875rem; font-weight:650; min-height:44px; }
.hf-app-products button { padding:8px 13px; line-height:1.15; border-radius:11px; }
.hf-app-products button[aria-pressed="true"] { background:#e7f2ff; color:#10263d; box-shadow:0 2px 6px #0005; }
.hf-app-products button[aria-pressed="false"]:hover { background:#203d57; color:white; }
.hf-app-exhibit :is(button,a):focus-visible { outline:2px solid #a7d5ff; outline-offset:2px; }
.hf-app-platform { display:block; color:#a9c7e2; margin:34px 0 10px; font-size:.875rem; font-weight:650; }
.hf-app-exhibit .hf-app-info h3 { margin:0 0 14px; font-size:clamp(2.15rem,5vw,4.8rem); line-height:.98; letter-spacing:-.055em; color:inherit; }
.hf-app-exhibit .hf-app-info p { color:#c6d8ec; max-width:34ch; margin:0 0 20px; line-height:1.55; }
.hf-app-views { display:flex; width:fit-content; max-width:100%; flex-wrap:wrap; border-bottom:1px solid #365670; gap:4px; }
.hf-app-views:has(> :only-child) { display:none; }
.hf-app-views button { padding:8px 13px; border-bottom:2px solid transparent; margin-bottom:-1px; }
.hf-app-views button[aria-pressed="true"] { color:white; border-bottom-color:#8dcbff; }
.hf-app-views button:hover { color:white; background:#b9dcff12; }
.hf-app-exhibit .hf-app-site { display:inline-flex; gap:8px; align-items:center; min-height:44px; margin-top:14px; color:#d9edff; text-decoration:underline; text-underline-offset:4px; font-size:.9rem; font-weight:650; }
.hf-app-site::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:1px 1px 0 0; transform:rotate(45deg); }
.hf-app-stage { position:relative; display:grid; place-items:center; min-width:0; min-height:620px; perspective:1150px; background:radial-gradient(ellipse at 58% 54%,#376e9a,#193954 39%,transparent 71%); padding:36px; }
.hf-app-stage::before { content:""; position:absolute; inset:16% 13%; border:1px solid #a5d2fa2e; border-radius:50%; transform:rotate(-24deg); pointer-events:none; }
.hf-app-phone { width:clamp(190px,23vw,274px); position:relative; transform-style:preserve-3d; transform:rotateY(-16deg) rotateX(6deg) rotateZ(8deg); transition:transform .55s cubic-bezier(.2,.7,.3,1); border-radius:15% / 7%; background:#05090f; padding:5px; box-shadow:0 0 0 1px #95afc8,18px 24px 40px #030916b3; }
.hf-app-phone::before { content:""; position:absolute; inset:0; border-radius:inherit; transform:translateZ(-12px); background:linear-gradient(120deg,#52687f,#adbdce 48%,#293b51 85%); box-shadow:0 0 0 2px #536b82,0 0 0 4px #2e4359; }
.hf-app-phone img { position:relative; display:block; width:100%; height:auto; aspect-ratio:402 / 874; object-fit:contain; border-radius:inherit; background:#05090f; transform:translateZ(1px); }
@media(hover:hover) { .hf-app-stage:hover .hf-app-phone { transform:rotateY(-5deg) rotateX(2deg) rotateZ(2deg); } }
@media(max-width:760px) {
 .hf-app-portfolio #hf-app-title { margin-bottom:16px; }
 .hf-app-exhibit { grid-template-columns:1fr; border-radius:24px; }
 .hf-app-info { padding:22px 20px 0; }
 .hf-app-products { display:grid; }
 .hf-app-platform { margin-top:21px; }
 .hf-app-exhibit .hf-app-info h3 { margin-bottom:9px; }
 .hf-app-exhibit .hf-app-info p { margin-bottom:12px; }
 .hf-app-exhibit .hf-app-site { margin-top:5px; }
 .hf-app-stage { min-height:0; padding:12px 24px 42px; }
 .hf-app-phone { width:clamp(155px,52vw,235px); }
}
@media(prefers-reduced-motion:reduce) { .hf-app-phone { transition:none; transform:none!important; } }
