/* Market visual system applied to the existing CMS content and Bootstrap grid. */
.profile-v2{background:var(--cream);font:14px/1.8 var(--sans);color:var(--text)}
.profile-v2 h1,.profile-v2 h2,.profile-v2 h3,.profile-v2 h4{font-family:var(--display);color:var(--navy);letter-spacing:-.025em}
.profile-v2 a{color:inherit;text-decoration:none}.profile-v2 a:hover{color:var(--gold)}
.profile-v2 .ml-btn{font-family:var(--sans);line-height:1.5}.profile-v2 .ml-btn-gold,.profile-v2 .ml-btn-gold:hover{color:white}
.profile-v2 .ml-container,.profile-v2 #main>.breadcrumbs>.container,.profile-v2 #main>section>.container{max-width:1240px;padding-left:28px;padding-right:28px}
.profile-v2 .ml-topbar{height:34px;line-height:1.4}.profile-v2 .ml-topbar a{display:inline-flex;align-items:center;gap:6px}
.profile-v2 .profile-header{position:sticky;top:0;z-index:1000;box-shadow:0 4px 24px #102c5008}
.profile-v2 .ml-nav-inner{height:86px;gap:22px}.profile-v2 .ml-brand img{width:180px;height:58px;object-fit:contain}
.profile-v2 .ml-nav-links{gap:21px}.profile-v2 .ml-nav-links a{font-size:11px;font-family:var(--sans);white-space:nowrap;line-height:1.5;padding:12px 0}
.profile-v2 .ml-nav-links a.active:after{margin-top:5px}.profile-v2 .ml-nav-actions{margin-left:0}
.profile-v2 .ml-mobile-toggle{display:none}.profile-skip{position:fixed;left:20px;top:-80px;z-index:2000;background:white;padding:12px 20px;border:2px solid #bb9657}.profile-skip:focus{top:12px}
.profile-v2 #main{margin:0}.profile-v2 section{padding:76px 0;overflow:visible}
.profile-v2 .section-bg{background:var(--cream)}.profile-v2 #main>section:nth-of-type(even){background:#f1f3f0}
.profile-v2 .section-header{margin:0 auto 38px;max-width:900px;text-align:center}
.profile-v2 .section-header h3{font:500 clamp(28px,3.4vw,43px)/1.25 var(--display);text-transform:none;padding-bottom:23px;margin-bottom:22px}
.profile-v2 .section-header h3:before{display:none}.profile-v2 .section-header h3:after{width:44px;background:var(--gold);height:2px}
.profile-v2 .section-header p{font:14px/1.95 var(--sans);color:#65758a;margin:0;padding:0;white-space:normal}
.profile-v2 #services .box{padding:30px 24px;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 40px #102c5007;margin-bottom:24px}
.profile-v2 #services .row{--bs-gutter-x:24px;row-gap:12px}.profile-v2 #services .row>.box{width:calc(25% - 24px);margin:0 12px}
.profile-v2 #services .icon{float:none;margin:0 0 20px}.profile-v2 #services .icon i{color:var(--gold);font-size:32px}
.profile-v2 #services .title,.profile-v2 #services .description{margin-left:0}.profile-v2 #services .title{font:600 23px/1.3 var(--display);margin-bottom:14px}
.profile-v2 #services .description{font-size:13px;color:#6b7888;line-height:1.9}
.profile-v2 #about{background:#f1f3f0}.profile-v2 #about:before{display:none}
.profile-v2 #about .about-col{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 45px #102c5009;height:calc(100% - 24px);margin-bottom:24px;padding-bottom:18px}
.profile-v2 #about .about-col .img img{border-radius:0;width:100%;aspect-ratio:16/10;object-fit:cover}
.profile-v2 #about .about-col .icon{background:var(--gold);border:4px solid white}
.profile-v2 #about .about-col h2{font:600 25px/1.3 var(--display);margin:25px 0 17px}
.profile-v2 #about .about-col p{font:13px/1.9 var(--sans);color:#65758a;padding:0 28px}
.profile-v2 #facts{background:var(--navy-deep)!important}.profile-v2 #facts:before{display:none}.profile-v2 #facts .counters span{color:var(--gold-light);font-family:var(--display)}.profile-v2 #facts .counters p{color:white}
.profile-v2 .breadcrumbs{margin:0;padding:55px 0 60px;background:linear-gradient(115deg,var(--navy-deep),var(--navy))!important;color:#c8d4e0;border-bottom:2px solid var(--gold)}
.profile-v2 .breadcrumbs h2{font:500 clamp(30px,3.5vw,44px)/1.25 var(--display);color:white;max-width:850px;margin:0}
.profile-v2 .breadcrumbs ol{font-size:11px;flex-shrink:0;padding-left:22px;color:var(--gold-light)}.profile-v2 .breadcrumbs ol a{color:#d4dee8}
.profile-v2 .portfolio-details{padding:65px 0 80px}.profile-v2 .portfolio-details .portfolio-info{border:1px solid var(--line);box-shadow:0 8px 35px #102c5007;border-radius:14px;background:white;margin-bottom:24px;padding:28px}
.profile-v2 .portfolio-info h3{font:600 24px/1.3 var(--display)}.profile-v2 .portfolio-info ul li{line-height:1.8}
.profile-v2 .portfolio-details .blog-post{background:white;border:1px solid var(--line);padding:26px;border-radius:15px;height:100%;margin-bottom:24px;overflow-wrap:anywhere}
.profile-v2 .blog-post>img{border-radius:10px;width:100%;height:auto}.profile-v2 .blog-post-title{font-size:28px;line-height:1.35}.profile-v2 .blog-post-meta{font-size:11px;color:#82909f}
.profile-v2 .blog-post p,.profile-v2 .blog-post div{max-width:100%}.profile-v2 .blog-post table{display:block;max-width:100%;overflow-x:auto}
.profile-v2 #portfolio .portfolio-wrap{border:1px solid var(--line);border-radius:14px;background:white;box-shadow:0 8px 32px #102c5008;overflow:hidden}
.profile-v2 #portfolio .portfolio-wrap figure{background:var(--navy);border-radius:0;margin:0;height:250px}.profile-v2 #portfolio .portfolio-wrap figure img{width:100%;height:100%;object-fit:cover}
.profile-v2 #portfolio .portfolio-info{padding:21px 20px;min-height:95px;background:white}.profile-v2 #portfolio .portfolio-info h4{font:600 21px/1.35 var(--display);text-align:left;margin:0 0 7px}
.profile-v2 #portfolio .portfolio-info p{text-align:left;font:11px var(--sans);text-transform:none;color:var(--muted);padding:0}
.profile-v2 #portfolio #portfolio-flters li{font:700 11px/1.6 var(--sans);border:1px solid #e1e5e8;border-radius:6px;padding:10px 17px;text-transform:none;color:#66778a;background:white}
.profile-v2 #portfolio #portfolio-flters li:hover,.profile-v2 #portfolio #portfolio-flters li.filter-active{background:var(--navy);color:white;border-color:var(--navy)}
.profile-v2 .btn-primary,.profile-v2 .btn-success,.profile-v2 #contact .form button[type=submit]{background:var(--gold);border:1px solid var(--gold);border-radius:6px;padding:12px 22px;font:700 12px var(--sans);color:white}
.profile-v2 .btn-outline-success{color:var(--navy);border-color:#d8dce1;border-radius:6px}.profile-v2 .btn-outline-success:hover{background:var(--navy);color:white}
.profile-v2 #contact{background:var(--cream)}.profile-v2 #contact .contact-info{margin-bottom:32px}.profile-v2 #contact .contact-info>div{border:0!important}
.profile-v2 #contact .contact-info i{color:var(--gold)}.profile-v2 #contact .contact-info h3{font:600 23px var(--display);color:var(--navy);text-transform:none}
.profile-v2 #contact .form{background:white;padding:32px;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 40px #102c5008}
.profile-v2 .form-control{font:13px/1.7 var(--sans);padding:13px 16px;border:1px solid #dfe3e8;border-radius:7px;background:#fafbf9;margin-bottom:16px}.profile-v2 .form-control:focus{border-color:var(--gold);box-shadow:0 0 0 3px #bb965719}
.profile-v2 iframe{max-width:100%;border-radius:12px}.profile-v2 iframe[width="720"]{width:100%;aspect-ratio:2/1;height:auto}
.profile-v2 .profile-footer{background:var(--navy-deep);padding:70px 0 0;margin-top:0;color:#b8c9d9}.profile-v2 .profile-footer h2{font:500 32px/1.35 var(--display);color:white;margin:15px 0}.profile-v2 .profile-footer h2 em{color:var(--gold-light)}
.profile-v2 .profile-footer h4{font:700 13px/1.5 var(--sans);color:white;margin-bottom:24px;letter-spacing:0}
.profile-v2 .profile-footer p{font:12px/1.9 var(--sans);color:#b8c9d9}.profile-v2 .profile-footer ul{list-style:none;padding:0;margin:0}.profile-v2 .profile-footer li{margin:0 0 10px;font:12px/1.7 var(--sans)}
.profile-v2 .profile-footer .ml-footer-grid{grid-template-columns:1.25fr .8fr 1fr 1.05fr;gap:48px}.profile-v2 .profile-footer .ml-footer-bottom{margin-top:40px;font:10px/1.8 var(--sans);padding:24px 0;color:#a4b5c9}
.profile-v2 .profile-footer-logo{width:170px;max-height:65px;object-fit:contain;object-position:left;margin-top:20px}.profile-v2 .profile-apersi{object-fit:contain;background:white;padding:8px 14px;border-radius:6px;width:120px;height:65px;margin-top:24px}
.profile-socials{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;font-size:11px}
.profile-whatsapp{position:fixed;left:22px;bottom:22px;z-index:1100;display:flex;gap:9px;align-items:center;padding:14px 19px;border-radius:32px;color:white!important;background:#16864a;box-shadow:0 7px 28px #071a312b;font:700 12px var(--sans)}
.profile-v2 .back-to-top{background:var(--gold);border-radius:50%;right:22px;bottom:22px}
.profile-v2 .profile-hero{position:relative;padding:0;overflow:hidden;background:var(--navy-deep);min-height:650px;color:white;isolation:isolate}
.profile-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.profile-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071a31ed 0%,#071a31b8 46%,#071a3130 100%),linear-gradient(0deg,#071a3190,transparent 50%);z-index:-1}
.profile-hero-content{padding:105px 28px 100px;max-width:1240px;margin:auto}.profile-hero .ml-eyebrow{color:var(--gold-light)}
.profile-v2 .profile-hero h1{font:500 clamp(40px,5.3vw,72px)/1.15 var(--display);color:white;letter-spacing:-.04em;max-width:740px;margin:24px 0}
.profile-v2 .profile-hero h1 em{color:var(--gold-light)}.profile-hero p{max-width:525px;color:#d0dbe7;font:14px/1.95 var(--sans);margin-bottom:30px}
.profile-hero-actions{display:flex;gap:14px;flex-wrap:wrap}.profile-hero .ml-btn-outline{border-color:#ffffff55;color:white;background:#ffffff0c}
.profile-hero-bottom{display:flex;gap:32px;margin-top:56px;border-top:1px solid #ffffff30;max-width:620px;padding-top:24px;font:11px/1.8 var(--sans);color:#c8d4e0}.profile-hero-bottom strong{display:block;color:var(--gold-light);letter-spacing:.07em;font-size:10px;text-transform:uppercase}
.profile-v2 .profile-slider-section{padding:28px 0;background:white!important}.profile-slider-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.profile-slider-card{display:flex;align-items:center;gap:14px;min-width:0}.profile-slider-card img{width:64px;height:64px;border-radius:10px;object-fit:cover;background:#f1f3f0}.profile-slider-card h2{font:600 15px/1.5 var(--display);margin:0}.profile-slider-card p{font:11px/1.6 var(--sans);color:#718093;margin:4px 0 0}
@media(max-width:1200px){
 .profile-v2 .ml-mobile-toggle{display:grid}.profile-v2 .ml-nav-actions{margin-left:auto}.profile-v2 .ml-nav-links{display:none;position:absolute;top:86px;left:0;right:0;background:white;padding:18px 28px 25px;box-shadow:0 12px 25px #102c5015;max-height:calc(100dvh - 120px);overflow-y:auto;margin:0;gap:0}
 .profile-v2 .ml-nav-links.profile-open{display:grid;grid-template-columns:1fr 1fr}.profile-v2 .ml-nav-links a{padding:14px 12px;font-size:13px}.profile-v2 .ml-nav-links a.active:after{display:none}.profile-v2 .ml-nav-links a.active{color:var(--gold)}
 .profile-v2 .profile-footer .ml-footer-grid{gap:28px;grid-template-columns:1fr 1fr}.profile-slider-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:767px){
 .profile-v2 .ml-topbar .ml-topbar-info>a,.profile-v2 .ml-topbar .profile-market-link{display:none}.profile-v2 .ml-topbar{height:30px}.profile-v2 .ml-topbar-inner{justify-content:center}.profile-v2 .ml-topbar-info{font-size:9px}
 .profile-v2 .ml-container,.profile-v2 #main>section>.container{padding-left:20px;padding-right:20px}.profile-v2 .ml-nav-inner{height:76px;gap:10px}.profile-v2 .ml-brand img{width:154px;height:50px}.profile-v2 .profile-contact-cta{display:none}.profile-v2 .ml-nav-links{top:76px}
 .profile-v2 section{padding:52px 0}.profile-v2 .section-header h3{font-size:30px}.profile-v2 #services .row>.box{width:calc(50% - 24px)}
 .profile-v2 .breadcrumbs{padding:35px 0 40px}.profile-v2 .breadcrumbs .d-flex{display:block!important}.profile-v2 .breadcrumbs h2{font-size:30px;overflow-wrap:anywhere}.profile-v2 .breadcrumbs ol{padding:14px 0 0;font-size:10px;flex-wrap:wrap}.profile-v2 .portfolio-details{padding:42px 0 55px}
 .profile-v2 .portfolio-details .blog-post{padding:20px;margin-bottom:24px}.profile-v2 .blog-post-title{font-size:24px}.profile-v2 #contact .form{padding:23px}.profile-v2 #portfolio .portfolio-wrap figure{height:240px}
 .profile-v2 .profile-hero{min-height:600px}.profile-hero-content{padding:72px 20px 60px}.profile-v2 .profile-hero h1{font-size:44px}.profile-hero p{font-size:13px}.profile-hero-bottom{gap:24px;margin-top:38px;flex-wrap:wrap}.profile-hero:after{background:linear-gradient(90deg,#071a31e8,#071a3180),linear-gradient(0deg,#071a31b0,transparent)}
 .profile-slider-grid{gap:18px}.profile-slider-card{gap:9px}.profile-slider-card img{width:46px;height:46px}.profile-slider-card p{display:none}.profile-slider-card h2{font-size:13px}
 .profile-v2 .profile-footer{padding-top:50px}.profile-v2 .profile-footer .ml-footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px}.profile-v2 .profile-footer .ml-footer-grid>div:first-child{grid-column:1/-1}.profile-v2 .profile-footer .ml-footer-grid>div:last-child{grid-column:1/-1}.profile-v2 .ml-footer-bottom{display:block}.profile-v2 .ml-footer-bottom>span{display:block;margin:6px 0}.profile-whatsapp{left:15px;bottom:15px;padding:13px}.profile-whatsapp span{display:none}
}
@media(max-width:440px){.profile-v2 #services .row>.box{width:calc(100% - 24px)}.profile-v2 .profile-hero h1{font-size:39px}.profile-v2 .profile-hero .ml-btn{padding:14px 17px;font-size:11px}.profile-hero-bottom{gap:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.profile-v2 [data-aos]{opacity:1!important;transform:none!important}.profile-v2 *{animation:none!important;transition:none!important}}

/* Article cards use the same component and visual rules as Market. */
.profile-v2 #profile-news{background:var(--cream)}
.profile-v2 .profile-news{padding:88px 0 100px}
.profile-v2 .profile-news .ml-section-heading{margin:13px 0 0;text-align:left}
.profile-v2 .profile-news .ml-section-top{align-items:flex-end;margin-bottom:35px}
.profile-v2 .ml-news-card-link,.profile-v2 .ml-news-card-link:hover{color:#fff}
.profile-v2 .ml-news-card h3{font:500 23px/1.32 var(--display);color:#fff;letter-spacing:-.025em;text-transform:none}
.profile-v2 .ml-news-excerpt{font:400 12px/1.8 var(--sans);color:#e0e7ef}
.profile-v2 .ml-news-card small{font-family:var(--sans);color:var(--gold-light)}
.profile-v2 .profile-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 30px}
.profile-v2 .blog-pagination{margin:30px 0}
.profile-v2 .blog-pagination a,.profile-v2 .blog-pagination strong{display:inline-block;padding:8px 13px;border-radius:5px;border:1px solid var(--line);margin:3px}
.profile-v2 .blog-pagination strong{background:var(--navy);color:white}
/* The poster stays visible until a decoded video frame is playing. */
.profile-v2 .profile-hero-photo{z-index:-3}
.profile-hero-video{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;pointer-events:none;transition:opacity .3s ease}
.profile-video-ready .profile-hero-video{opacity:1}
.profile-video-toggle{position:absolute;bottom:24px;right:max(28px,calc((100vw - 1184px)/2));z-index:3;display:flex;align-items:center;gap:9px;color:white;background:#071a3199;border:1px solid #ffffff66;border-radius:30px;padding:10px 16px;font:700 11px/1.5 var(--sans);backdrop-filter:blur(8px)}
.profile-video-toggle[hidden]{display:none}
.profile-video-toggle:focus-visible{outline:3px solid var(--gold-light);outline-offset:4px}
@media(max-width:680px){.profile-v2 .profile-article-grid{grid-template-columns:1fr}.profile-v2 .profile-news{padding:55px 0 65px}.profile-v2 .profile-news .ml-section-top{display:block}.profile-v2 .profile-news .ml-text-link{margin-top:22px}.profile-video-toggle{right:20px;bottom:16px;padding:9px 13px;font-size:10px}.profile-v2 .profile-hero-content{padding-bottom:88px}}
/* Definite card width prevents the portrait ratio from widening narrow grids. */
.profile-v2 .ml-news-card{width:100%;max-width:100%}
/* Legacy CMS pagination can include several navigation buttons. */
.profile-v2 .blog-pagination .pagination{flex-wrap:wrap;row-gap:8px}

/* Project marks use their original colors and proportions, with a static fallback. */
.profile-v2 .profile-projects{padding:30px 0 32px;background:#f6efe3!important;border-block:1px solid #dac18e;overflow:hidden}
.profile-projects-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:30px;margin:0 auto 24px}
.profile-v2 .profile-projects-heading h2{font:700 11px/1.6 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#896822;margin:0;text-align:center}
.profile-projects-toggle{position:absolute;right:28px;border:1px solid #c9b78f;border-radius:20px;padding:5px 11px;background:transparent;color:#765d2b;font:500 10px/1.5 var(--sans);cursor:pointer}
.profile-projects-toggle[hidden]{display:none}
.profile-projects-toggle:focus-visible,.profile-projects-item a:focus-visible{outline:2px solid var(--navy);outline-offset:4px}
.profile-projects-viewport{overflow:hidden}
.profile-projects-track{width:100%}
.profile-projects-group{display:flex;flex-wrap:wrap;justify-content:center;list-style:none;padding:0;margin:0!important}
.profile-projects-item{flex:0 0 210px;list-style:none;padding:0 15px;margin:0}
.profile-projects-item a{display:flex;align-items:center;justify-content:center;height:110px;border-radius:6px}
.profile-projects-item img{display:block;width:180px;height:88px;object-fit:contain;transition:transform .25s ease}
.profile-projects-item a:hover img{transform:scale(1.04)}
.profile-projects.is-ready .profile-projects-track{display:flex;width:max-content;animation:profile-project-scroll var(--project-scroll-duration,63s) linear infinite;will-change:transform}
.profile-projects.is-ready .profile-projects-group{flex-wrap:nowrap;flex-shrink:0;min-width:100vw;justify-content:space-around}
.profile-projects.is-paused .profile-projects-track,.profile-projects:hover .profile-projects-track,.profile-projects:focus-within .profile-projects-track{animation-play-state:paused}
.profile-projects .profile-projects-viewport:focus-within .profile-projects-track{display:block;width:100%;animation:none;transform:none;will-change:auto}
.profile-projects .profile-projects-viewport:focus-within .profile-projects-group{flex-wrap:wrap;min-width:0;justify-content:center}
.profile-projects .profile-projects-viewport:focus-within [data-projects-copy]{display:none}
@keyframes profile-project-scroll{to{transform:translateX(-50%)}}
@media(max-width:700px){
 .profile-v2 .profile-projects{padding:24px 0}
 .profile-projects-heading{flex-direction:column;gap:12px;margin-bottom:14px}
 .profile-projects-toggle{position:static}
 .profile-projects-item{flex-basis:170px;padding:0 14px}
 .profile-projects-item a{height:94px}
 .profile-projects-item img{width:142px;height:78px}
}
@media(prefers-reduced-motion:reduce){
 .profile-projects.is-ready .profile-projects-track{display:block;width:100%;animation:none;transform:none;will-change:auto}
 .profile-projects.is-ready .profile-projects-group{flex-wrap:wrap;min-width:0;justify-content:center}
 .profile-projects [data-projects-copy],.profile-projects-toggle{display:none!important}
}
