/* V16.22 — Responsive desktop/mobile presentation refinements. Keeps the cinematic hero video as the visual anchor. */
:root{--presentation-gold:#c8a04a;--presentation-ivory:#ffffff;--presentation-ink:#0a0a0a}
html{scroll-padding-top:76px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{max-width:100%;overflow-x:clip}
img,video,iframe{max-width:100%}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
/* Cinematic full-viewport video remains active on desktop and mobile. */
.premium-home-page .premium-hero{position:relative;min-height:100vh;min-height:100svh;height:100svh;isolation:isolate;overflow:hidden;background:#080807}
.premium-home-page .premium-hero>video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;z-index:0;transform:scale(1.035);will-change:transform}
.premium-home-page .premium-hero .hero-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(5,5,5,.86) 0%,rgba(5,5,5,.42) 58%,rgba(5,5,5,.58) 100%),linear-gradient(0deg,rgba(5,5,5,.84),transparent 60%)}
.premium-home-page .premium-hero .hero-inner{position:relative;z-index:2;width:min(calc(100% - 9vw),1440px);margin-inline:auto}
.premium-home-page .premium-hero .hero-utility{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
/* Device-friendly header and mega menu */
.nav .container{width:min(calc(100% - 40px),1440px)}
.brand-logo img{display:block;width:clamp(185px,21vw,310px);height:auto;max-height:62px;object-fit:contain}
.menu{min-height:42px;cursor:pointer}
.cap-mega,.overlay{max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
/* Stats: seven metrics remain readable without creating a tall single-column wall. */
#statistics .institutional-copy{position:relative;z-index:1}
#statistics .institutional-stats{grid-template-columns:repeat(4,minmax(0,1fr));position:relative}
#statistics .institutional-stats .stat-item{min-width:0;gap:14px;padding:22px clamp(12px,1.7vw,24px);transition:background .35s,transform .35s,border-color .35s;position:relative}
#statistics .institutional-stats .stat-item:hover{background:rgba(200,160,74,.075);transform:translateY(-3px)}
#statistics .institutional-stats .stat-icon{font-size:25px;color:#ad7728;line-height:1.1}
#statistics .institutional-stats .stat-number{font-variant-numeric:tabular-nums;letter-spacing:-.035em}
#statistics .institutional-stats .stat-item>span:last-child{line-height:1.5;overflow-wrap:anywhere}
#statistics .institutional-stats .stat-item:nth-child(5){border-bottom:1px solid rgba(10,10,10,.13)}
#statistics .institutional-stats .stat-item:nth-child(6){border-bottom:1px solid rgba(10,10,10,.13)}
#statistics .institutional-stats .stat-item:nth-child(7){grid-column:span 2;border-right:0}
/* Expert continuation: cinematic image and editorial copy, with a deliberate mobile stack. */
#experts .institutional-expert{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
#experts .expert-image{min-width:0;min-height:100%;position:relative}
#experts .expert-image img{width:100%;height:100%;min-height:470px;object-fit:cover;object-position:center 42%;will-change:transform}
#experts .expert-copy{min-width:0}
#experts .expert-copy h2{max-width:760px;text-wrap:balance}
/* All feature layouts should collapse without horizontal overflow. */
.split-feature,.visual-story,.feature,.media-grid,.case-feature,.home-insights-layout,.careers-feature,.institutional-top,.institutional-expert{min-width:0}
.visual-story-media img,.feature-media img,.feature-media video,.media-card img,.home-insights-visual img{display:block;width:100%;height:100%;object-fit:cover}
/* Jump navigation remains usable on touch screens and leaves space for the assist buttons. */
.floating.jump-nav{max-width:min( calc(100vw - 32px), 1360px);left:50%;bottom:14px;transform:translateX(-50%);gap:3px;overflow:hidden}
.floating.jump-nav .jump-links{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;max-width:calc(100vw - 125px)}
.floating.jump-nav .jump-links::-webkit-scrollbar{display:none}
.floating.jump-nav .jump-links a{flex:0 0 auto}
.assist-rail{bottom:calc(22px + env(safe-area-inset-bottom));right:18px;z-index:100}
.assist-btn{min-width:48px;min-height:48px;justify-content:center}
.drawer{padding:clamp(10px,2vw,22px);padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.drawer-card{max-height:calc(100dvh - 44px);overscroll-behavior:contain}
.wa-service-list{max-height:min(54dvh,560px);overflow-y:auto;overscroll-behavior:contain}
/* Responsive showcase page: live site in desktop and phone frames. */
.device-showcase{min-height:100vh;background:linear-gradient(120deg,#f8f6f1 0 48%,#111 48% 100%);color:#111;overflow:hidden;padding:clamp(28px,5vw,76px)}
.device-showcase-header{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1440px;margin:0 auto 28px}
.device-showcase-brand{font:500 12px 'Fragment Mono',monospace;letter-spacing:.2em;text-transform:uppercase;color:#9a7025}
.device-showcase-title{font:clamp(30px,4vw,58px)/.98 'Cormorant Garamond',serif;max-width:580px;margin:0}
.device-showcase-intro{font:14px/1.7 Inter,sans-serif;color:#5b564e;max-width:540px;margin:15px 0 0}
.device-showcase-stage{max-width:1440px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:clamp(22px,4vw,64px);align-items:center}
.device-laptop{position:relative;padding:10px 10px 18px;border:2px solid #9d8b66;border-radius:19px;background:linear-gradient(135deg,#151515,#34312a);box-shadow:0 35px 80px #0004;min-width:0}
.device-laptop-screen{height:clamp(360px,48vw,680px);border-radius:9px;overflow:hidden;background:#080807}
.device-laptop-screen iframe,.device-phone-screen iframe{display:block;width:100%;height:100%;border:0;background:#080807}
.device-laptop-base{height:13px;width:106%;margin-left:-3%;border-radius:0 0 24px 24px;background:linear-gradient(#c5b58f,#6d624d 55%,#d4c6a5);box-shadow:0 12px 15px #0003}
.device-phone{width:min(100%,230px);justify-self:center;border:3px solid #9c8c67;border-radius:34px;padding:8px;background:#101010;box-shadow:0 28px 65px #0006;transform:translateY(34px);position:relative;z-index:2}
.device-phone:before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:76px;height:17px;border-radius:0 0 12px 12px;background:#050505;z-index:2}
.device-phone-screen{height:clamp(390px,57vw,560px);border-radius:25px;overflow:hidden;background:#080807}
.device-showcase-note{font:10px 'Fragment Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:#c8a04a;margin-top:20px}
@media(min-width:1500px){.device-laptop-screen{height:690px}}
@media(max-width:1000px){.premium-home-page .premium-hero .hero-inner{width:calc(100% - 48px)}#statistics .institutional-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#statistics .institutional-stats .stat-item:nth-child(4){border-right:1px solid rgba(10,10,10,.16)}#statistics .institutional-stats .stat-item:nth-child(3n){border-right:0}#statistics .institutional-stats .stat-item:nth-child(7){grid-column:span 1;border-right:0}.device-showcase-stage{grid-template-columns:minmax(0,1fr) 185px}.device-phone{width:185px}}
@media(max-width:760px){
 .nav .container{width:calc(100% - 24px)}.brand-logo img{width:clamp(150px,46vw,210px);max-height:48px}.nav-actions{gap:8px}.nav-search{display:none}
 .premium-home-page .premium-hero{min-height:100svh;height:100svh;max-height:none}
 .premium-home-page .premium-hero>video{object-position:center center;transform:scale(1.02)!important;filter:saturate(.58) contrast(1.04)}
 .premium-home-page .premium-hero .hero-inner{width:calc(100% - 36px);padding:118px 0 calc(76px + env(safe-area-inset-bottom));}
 .premium-home-page .premium-hero .hero-utility{font-size:9px;letter-spacing:.12em;margin-bottom:30px}
 .premium-home-page .premium-hero .eyebrow{font-size:10px;letter-spacing:.18em}
 .premium-home-page .premium-hero .premium-title{font-size:clamp(54px,15vw,92px);line-height:.82;letter-spacing:-.055em;overflow-wrap:normal}
 .premium-home-page .premium-hero .premium-rule{width:95px;margin:24px 0}
 .premium-home-page .premium-hero .hero-copy{font-size:15px;line-height:1.65;max-width:36ch;margin:0 0 24px}
 .premium-home-page .premium-hero .actions{display:grid;grid-template-columns:1fr;gap:9px;max-width:360px}.premium-home-page .premium-hero .actions .btn{width:100%;min-height:46px;font-size:10px;padding:12px}
 .premium-home-page .premium-hero .hero-scroll{left:18px;bottom:24px;font-size:9px}
 .section{padding:64px 0}.container{width:calc(100% - 36px)}
 #statistics .institutional-copy{padding:58px 0 34px}
 #statistics .institutional-copy .eyebrow{font-size:9px;letter-spacing:.12em;gap:9px}
 #statistics .institutional-copy .eyebrow:after{width:36px}
 #statistics .institutional-copy h2{font-size:clamp(43px,12.5vw,62px);line-height:.9;max-width:10ch}
 #statistics .institutional-copy>p{font-size:17px;line-height:1.55;margin:18px 0 24px}
 #statistics .institutional-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #statistics .institutional-stats .stat-item{min-height:142px;padding:17px 11px;gap:12px;border-right:1px solid rgba(10,10,10,.16)!important;border-bottom:1px solid rgba(10,10,10,.16)!important}
 #statistics .institutional-stats .stat-item:nth-child(2n){border-right:0!important}
 #statistics .institutional-stats .stat-item:nth-child(7){grid-column:1/-1;border-right:0!important;min-height:118px}
 #statistics .institutional-stats .stat-icon{font-size:22px}
 #statistics .institutional-stats .stat-number{font-size:clamp(34px,9vw,46px)}
 #statistics .institutional-stats .stat-item>span:last-child{font-size:8px;line-height:1.45;letter-spacing:.065em}
 #statistics .institutional-note{font-size:11px;line-height:1.6;gap:12px;padding-top:18px}
 #statistics .institutional-note a{white-space:normal}
 #experts .institutional-expert{grid-template-columns:1fr;display:grid}
 #experts .expert-image{order:0;min-height:0;aspect-ratio:4/3}
 #experts .expert-image img{min-height:0;height:100%;aspect-ratio:4/3;object-position:center 42%}
 #experts .expert-copy{padding:42px 22px 48px}
 #experts .expert-copy .eyebrow{font-size:9px;letter-spacing:.14em}
 #experts .expert-copy h2{font-size:clamp(42px,11.5vw,58px);line-height:.95;margin-bottom:18px}
 #experts .expert-copy p{font-size:16px;line-height:1.6}
 #experts .expert-copy .btn{width:auto;min-height:46px}
 .floating.jump-nav{left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;max-width:none;transform:none;padding:3px;border-radius:18px;justify-content:flex-start}
 .floating.jump-nav .jump-label{font-size:8px;padding:0 8px;flex:0 0 auto}
 .floating.jump-nav .jump-links{max-width:none;min-width:0;flex:1}
 .floating.jump-nav .jump-links a{font-size:8px;padding:9px 10px}
 .floating.jump-nav .jump-close{flex:0 0 29px}
 .assist-rail{right:12px;bottom:calc(66px + env(safe-area-inset-bottom));gap:8px}
 .assist-btn{width:46px;height:46px;min-width:46px;min-height:46px;padding:5px}
 .assist-btn b{display:none}
 .drawer{padding:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));align-items:flex-end}
 .drawer-card{width:100%;max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));border-radius:22px;padding:22px 16px 18px}
 .drawer-card h2{font-size:36px;max-width:13ch}
 .drawer-card p{font-size:13px;line-height:1.55}
 .chatbox{padding:12px;border-radius:15px}.chatrow input{font-size:16px}.chatrow button{padding:0 12px}
 .wa-topline{padding-right:40px;gap:8px;flex-wrap:wrap;font-size:9px}
 .wa-service-list{max-height:38dvh;max-height:min(38dvh,360px)}
 .wa-service-list a{min-height:44px;padding:12px;font-size:13px}
 .wa-actions{position:sticky;bottom:0;background:#0a0a0a;padding-top:10px}
 .footgrid{gap:24px}.site-footer{padding-bottom:125px}
 .device-showcase{padding:24px 16px 44px;background:linear-gradient(160deg,#f8f6f1 0 47%,#111 47% 100%)}
 .device-showcase-header{align-items:flex-start;flex-direction:column;margin-bottom:24px}
 .device-showcase-title{font-size:clamp(34px,10vw,50px)}.device-showcase-intro{font-size:13px}
 .device-showcase-stage{grid-template-columns:minmax(0,1fr);gap:26px}
 .device-laptop{padding:6px 6px 12px;border-radius:12px}.device-laptop-screen{height:clamp(300px,82vw,500px);border-radius:6px}.device-laptop-base{height:8px}
 .device-phone{width:min(58vw,230px);transform:none;justify-self:end;margin-right:7vw}.device-phone-screen{height:clamp(420px,125vw,560px)}
}
@media(max-width:380px){.premium-home-page .premium-hero .premium-title{font-size:52px}#statistics .institutional-stats .stat-item{min-height:132px;padding:14px 8px}#statistics .institutional-stats .stat-number{font-size:34px}.floating.jump-nav .jump-label{display:none}.assist-rail{right:8px}}
@media(prefers-reduced-motion:reduce){.premium-home-page .premium-hero>video{transform:none!important}.institutional-stats .stat-item,.expert-image img{transition:none!important}.institutional-stats .stat-item:hover{transform:none}}
