/* Isolated preview refinement. Shared portfolio chrome; no fluid or product-app changes. */
/* Cases do not all load editorial-type.css; provide the same licensed shared chrome face. */
@font-face{font-family:'Simon Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter-v4.1-latin-wght-opsz.woff2') format('woff2')}
:is(h1,h2,h3,h4,h5,h6):not(#hito-product *,dialog *){text-transform:uppercase}

/* One deliberate end-card, matching the editorial thin / bold vocabulary. */
.sf-footer.footer{padding:clamp(56px,7vw,100px) 0 28px;background:#030405!important;border-top:1px solid #ffffff26}
.sf-footer .shell{width:calc(100% - 2 * var(--pad));max-width:1440px}
.sf-footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #ffffff20;padding-bottom:24px}
.sf-footer .kicker{font:400 10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em;color:#8e969e;margin:0}
.sf-footer-availability{display:flex;align-items:center;gap:10px;font:400 10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#a4adb5}
.sf-footer-availability i{height:5px;width:5px;border-radius:50%;background:#a8bdb1;flex:none}
.sf-footer-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:clamp(40px,7vw,110px);align-items:end;padding:60px 0 68px}
.sf-footer.footer h2.footer-cta-title{font-family:'Simon Inter',Arial,sans-serif;font-size:clamp(58px,7.5vw,112px);line-height:.94;letter-spacing:-.045em;font-weight:100;max-width:none;margin:0;text-wrap:initial}
.sf-footer .footer-line{display:block}.sf-footer strong.footer-line{font-weight:700}
.sf-footer-contact>p{font:400 12px/1.8 'Simon Inter',Arial,sans-serif;color:#9ba5af;margin:0 0 28px}
.sf-footer-project{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 0;border-block:1px solid #ffffff40;color:#f3f6f8;font:500 12px/1.5 'Simon Inter',Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.sf-footer-project>span:last-child{font-size:28px;font-weight:100;transition:transform .2s}
.sf-footer-project:hover>span:last-child{transform:translate(3px,-3px)}
.sf-footer-links{display:flex;justify-content:space-between;gap:24px;padding-top:20px;font:400 11px/1.5 'Simon Inter',Arial,sans-serif;color:#9ba5af}
.sf-footer a:hover{color:#fff}.sf-footer a:focus-visible{outline:1px solid #fff;outline-offset:6px}
.sf-footer .footer-bottom{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:28px;margin:0;padding-top:24px;border-color:#ffffff20;font:400 9px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8a949f;letter-spacing:.04em;text-transform:uppercase}
.sf-footer-brand{font:600 18px/1.2 'Simon Inter',Arial,sans-serif;letter-spacing:-.05em;color:#f1f4f7}

/* Compact, measured navigation rows — no inherited stretch / full-width underline. */
@media(max-width:1040px){
 .site-header .nav-links{display:none}
 .site-header .nav-links.open{display:flex;position:absolute;inset:100% 0 auto;flex-direction:column;align-items:stretch;justify-content:flex-start;align-content:start;gap:0;width:100%;height:auto;min-height:0;max-height:calc(100dvh - 78px);overflow:auto;margin:0;padding:14px clamp(20px,4.8vw,52px) 22px;background:#080a0d!important;border-bottom:1px solid #ffffff2e;counter-reset:menu-item;box-shadow:0 24px 48px #0006}
 .site-header .nav-links.open>a{display:grid;grid-template-columns:28px minmax(0,1fr) 22px;align-items:center;gap:14px;flex:none;min-height:60px;height:auto;width:100%;margin:0;padding:14px 0;border:0;border-bottom:1px solid #ffffff14!important;font:300 clamp(20px,2.7vw,28px)/1.15 'Simon Inter',Arial,sans-serif;letter-spacing:-.025em;text-transform:uppercase;color:#a1aab4;transition:color .2s}
 .site-header .nav-links.open>a:last-child{border-bottom:0!important}
 .site-header .nav-links.open>a:before{counter-increment:menu-item;content:counter(menu-item,decimal-leading-zero);font:400 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;color:#626d79}
 .site-header .nav-links.open>a:after{content:'↗';position:static;inset:auto;display:block;width:auto;height:auto;background:none;transform:none;opacity:1;font:100 22px/1 'Simon Inter',Arial,sans-serif;color:#697582;transition:color .2s}
 .site-header .nav-links.open>a:hover,.site-header .nav-links.open>a[aria-current=page]{color:#fff}
 .site-header .nav-links.open>a[aria-current=page]:before,.site-header .nav-links.open>a:hover:after{color:#dce5ec}
 .site-header .nav-links.open>a:focus-visible{outline:1px solid #cbd9e5;outline-offset:4px}
}
@media(max-width:700px){
 .sf-footer-top{align-items:flex-start;flex-direction:column;gap:12px;padding-bottom:20px}
 .sf-footer-main{grid-template-columns:1fr;gap:36px;padding:36px 0 40px}
 .sf-footer.footer h2.footer-cta-title{font-size:clamp(42px,10.7vw,70px);line-height:.96;letter-spacing:-.04em}
 .sf-footer-contact>p{font-size:12px;margin-bottom:22px}
 .sf-footer .footer-bottom{grid-template-columns:1fr;gap:10px;padding-top:22px}
 .sf-footer-brand{margin-bottom:6px}
 .site-header .nav-links.open{max-height:calc(100dvh - 70px);padding-block:10px 16px}
 .site-header .nav-links.open>a{min-height:55px;padding-block:13px;font-size:23px}
}
@media(prefers-reduced-motion:reduce){.sf-footer-project>span:last-child{transition:none}}

/* Release QA: fix measured contrast / clipped ink without changing art direction. */
.oai-case-v3 .oai-hero-primary figcaption{color:#4a535e}
.oai-case-v3 .oai-bi-answer>small{color:#157642}
.tlp-case-v3 .tlp-hero-primary figcaption{color:#525e6b}
.sf-footer-links a{display:inline-flex;align-items:center;min-height:44px}
.rbc-meta dt,.rbc-mini-form>span{color:#969da7}
.rbc-report-sheet>small{color:#5b5b5b}
@media(max-width:600px){body .rbc-hero .rbc-hero-copy h1{font-size:clamp(34px,10.2vw,42px)}}

/* Readiness: essential small-screen copy only; desktop art direction is frozen. */
@media(max-width:800px){
 .pm-portfolio .sf-hero .pulse-topline{font-size:11px;letter-spacing:.035em}
 .pm-portfolio .sf-hero .hero-value{font-size:13px;letter-spacing:.035em;max-width:310px}
 .sf-hero .sf-primary-link{font-size:11px;letter-spacing:.08em;min-height:44px}
 .sf-hero .sf-contact-link{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
 .pm-portfolio .sf-hero .pulse-bottom{font-size:10px;letter-spacing:.025em}
 .sf-hero .sf-motion-toggle{font-size:11px;min-height:44px}
 .aw-classification{flex-wrap:wrap;row-gap:10px}
 .aw-classification>span,.home-project-meta{font-size:11px;letter-spacing:.045em}
 .aw-capability-item p{font-size:12px;line-height:1.7;color:#a5adb7;letter-spacing:.025em}
 .pm-index-name small{font-size:12px;line-height:1.65;max-width:none}
 .pm-index-num{font-size:11px}
 .rbc-meta dt,.rbc-mini-form>span{font-size:11px}
 .ed-page .section-head>.kicker,.ed-page .page-hero>.kicker,.ed-page .pm-work-masthead>.kicker,.ed-page .pm-home-study>div>.kicker{font-size:11px;letter-spacing:.09em}
 .sf-footer .kicker,.sf-footer-availability{font-size:11px;letter-spacing:.07em}
 .sf-footer-contact>p{font-size:14px;line-height:1.75}
 .sf-footer-project{font-size:14px;min-height:48px}
 .sf-footer-links{font-size:13px}
 .sf-footer .footer-bottom{font-size:11px;letter-spacing:.015em}
 .pm-hito .hs-text-button{font-size:12px;min-height:44px}
 .hs-scene-controls button{min-width:44px;min-height:44px}
 .hs-cinema-bottom{flex-wrap:wrap}
 .pm-hito .hs-cinema-top>span,.pm-hito .hs-eyebrow{font-size:11px;line-height:1.6}
 .hs-cinema-bottom p{font-size:13px;line-height:1.6}
}
@media(max-width:360px){
 .pm-portfolio .sf-hero .pulse-topline{gap:16px}
 .sf-hero .pulse-topline>span:first-child{max-width:154px}
 .sf-hero .pulse-topline>span:last-child{max-width:106px}
 .pm-portfolio .sf-hero .pulse-bottom{gap:12px}
 .sf-hero .pulse-bottom>p{max-width:160px}
}

/* Readable scene detail supplements the retained full-screen UI, never replaces it. */
.hs-brief-focus{display:none}
@media(min-width:701px) and (max-width:800px){
 .hs-stage[data-scene="2"] .hs-scene-evidence{left:53%;width:46%;top:2%;padding:16px}
}
@media(max-width:800px){
 .hs-stage[data-scene="3"] .hs-scene-brief{left:8%;top:3%;width:92%;opacity:.3}
 .hs-stage[data-scene="3"] .hs-scene-answer{opacity:0}
 .hs-stage[data-scene="3"] .hs-brief-focus{display:block;position:absolute;inset:5% 5% auto 12%;z-index:2;background:#101728f5;border:1px solid #354157;padding:18px;color:#c1cadb;font:13px/1.55 'Hito Stack',sans-serif}
 .hs-brief-focus>span{font-size:10px;letter-spacing:.06em;color:#a99cff}
 .hs-brief-focus>strong{display:block;font:500 20px/1.2 'Hito Space',sans-serif;color:#f8f9ff;margin:10px 0}
 .hs-brief-focus p{margin:9px 0}
 .hs-brief-focus small{display:block;border-top:1px solid #354157;padding-top:10px;font-size:11px;color:#a99cff}
}
@media(max-width:700px){
 .pm-hito .pm-cine-panel .hs-stage{height:min(370px,max(120px,calc(100svh - 290px)))}
 .hs-stage[data-scene="2"] .hs-scene-evidence{left:17%;width:82%;padding:16px;top:2%;font-size:13px;line-height:1.5}
 .hs-stage[data-scene="2"] .hs-mini-heading{font-size:14px}
 .hs-stage[data-scene="2"] .hs-mini-heading>span{font-size:10px}
 .hs-stage[data-scene="2"] .hs-mini-source{padding:10px 0;margin-top:10px}
 .hs-stage[data-scene="2"] .hs-mini-source>span,.hs-stage[data-scene="2"] .hs-mini-source small{font-size:11px}
 .hs-stage[data-scene="2"] .hs-mini-source strong{font-size:17px;margin:8px 0}
 .hs-stage[data-scene="2"] .hs-scene-evidence>p{font-size:12px}
}
