/* assets/css/style.css */
/* Custom overrides and extensions to Tailwind */
.content-image{margin:24px 0;max-width:100%}
.content-image img{display:block;max-width:100%;height:auto;margin:auto;border-radius:12px}
.content-image figcaption{margin-top:8px;font-size:13px;line-height:1.6;text-align:center;color:#8e9ebb;overflow-wrap:anywhere}
.instagram-preview{position:relative;display:block;aspect-ratio:3/4;background:linear-gradient(145deg,#152c55,#051024);color:white}
.instagram-preview img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}
.instagram-preview .instagram-preview-caption{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:20px;background:linear-gradient(transparent 25%,rgba(5,16,36,.95))}
.instagram-preview .instagram-play{font-size:26px;color:#00e5ff;margin-bottom:16px}
.instagram-popup{margin:auto;width:min(480px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow:auto;padding:16px;border:1px solid #263957;border-radius:16px;background:#0b162c;color:white}
.instagram-popup::backdrop{background:rgba(0,0,0,.8)}
.instagram-popup-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.instagram-popup-header h2{font-size:16px;overflow-wrap:anywhere}
.instagram-popup-header button{flex-shrink:0;min-width:44px;min-height:44px;color:#00e5ff;border:1px solid #263957;border-radius:50%}
.instagram-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.instagram-heading h2{font-size:clamp(24px,3vw,36px);font-weight:700;overflow-wrap:anywhere}
.instagram-controls{display:flex;gap:8px;flex-shrink:0}.instagram-controls[hidden]{display:none}
.instagram-controls button{width:44px;height:44px;border:1px solid #263957;border-radius:50%;color:#00e5ff;background:#0b162c}
.instagram-hint{font-size:13px;color:#8e9ebb;margin:12px 0 24px}
.instagram-slider{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;scroll-padding:4px}
.instagram-card{flex:0 0 340px;min-width:0;scroll-snap-align:start;border:1px solid #172745;border-radius:16px;overflow:hidden;background:#0b162c}
@media(min-width:1024px){.instagram-card{flex:0 0 calc((100% - 80px)/5)}}
.instagram-embed{display:block;width:100%;height:560px;border:0;background:white}
.instagram-direct{display:inline-flex;align-items:center;min-height:44px;color:#00e5ff;font-size:14px}
.instagram-fallback{font-size:12px;color:#8e9ebb;line-height:1.5}
.instagram-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.instagram-card>div{padding:16px}.instagram-card h3{font-size:16px;font-weight:600;overflow-wrap:anywhere}.instagram-card span{display:block;margin-top:12px;font-size:13px;color:#00e5ff}
@media(max-width:767px){
    .instagram-slider{gap:14px;padding-bottom:18px;scrollbar-width:thin;scrollbar-color:#00e5ff #172745}
    .instagram-slider::-webkit-scrollbar{height:6px}
    .instagram-slider::-webkit-scrollbar-track{background:#172745;border-radius:999px}
    .instagram-slider::-webkit-scrollbar-thumb{background:#00e5ff;border-radius:999px}
    .instagram-card{flex:0 0 calc((100% - 14px)/2);max-width:none;border-radius:12px}
    .instagram-preview .instagram-preview-caption{padding:12px}
    .instagram-preview .instagram-play{font-size:20px;margin:0}
    .instagram-heading{align-items:flex-start}
    .instagram-embed{height:520px}
}
.footer-brand{min-width:0;width:100%;max-width:280px;text-align:left}
.footer-description,.footer-address{max-width:100%;line-height:1.65;overflow-wrap:anywhere;text-align:left}
.footer-description{margin:12px 0 0;text-wrap:pretty}
.footer-address{margin:6px 0 0}
.footer-location{min-width:0;width:100%;max-width:320px}
.footer-main .footer-location{margin-top:-12px}
.footer-brand:has(.brand-logo) + .footer-location{padding-left:6.5px}
@media(min-width:1024px){
    .footer-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);align-items:center;gap:40px}
    .footer-main .footer-location{margin-top:0;justify-self:center;padding-left:0}
    .footer-location .footer-address{margin:0}
    .footer-main>div:last-child{min-width:0;max-width:100%;flex-wrap:wrap}
}
@media(min-width:768px) and (max-width:1023px){.footer-main{flex-direction:column;align-items:flex-start}}
.footer-description + .footer-address{margin-top:20px}
.footer-brand:has(.brand-logo) .footer-description,
.footer-brand:has(.brand-logo) .footer-address{padding-left:6.5px}
.sponsor-marquee{width:100%;min-width:0;flex:1}
.sponsor-pause{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:#cbd5e1;cursor:pointer;margin-bottom:12px}
.sponsor-rows{display:grid;gap:16px}
.sponsor-window{overflow:hidden}
.sponsor-track{display:flex;width:max-content;min-width:200%;animation:sponsor-slide 45s linear infinite}
.sponsor-window:nth-child(2) .sponsor-track{animation-direction:reverse}
.sponsor-group{display:flex;flex:1;gap:16px;padding-right:16px}
.sponsor-item{display:flex;align-items:center;justify-content:center;flex:1 0 180px;width:180px;height:108px;padding:12px;border-radius:12px;background:white;color:#152c55;text-align:center;overflow-wrap:anywhere;font-size:18px;font-weight:700}
.sponsor-item img{display:block;width:100%;height:100%;object-fit:contain}
.sponsor-marquee:hover .sponsor-track,.sponsor-marquee:active .sponsor-track,.sponsor-marquee:has(input:checked) .sponsor-track{animation-play-state:paused}
@keyframes sponsor-slide{to{transform:translateX(-50%)}}
@media(max-width:767px){.sponsor-item{flex-basis:144px;width:144px;height:90px;padding:8px}}
@media(prefers-reduced-motion:reduce){.sponsor-track{animation:none;width:100%;min-width:0}.sponsor-group{flex-wrap:wrap;padding:0}.sponsor-group[aria-hidden]{display:none}.sponsor-pause{display:none}.sponsor-item{flex:1 1 140px}}
.hero-card-link{position:absolute;inset:0;z-index:10;border-radius:inherit}
.hero-card-link:focus-visible{outline:3px solid #00e5ff;outline-offset:-4px}
.hero-media{position:absolute;inset:0;overflow:hidden}
@media(min-width:768px){
    .hero-media>img{top:-140px;height:calc(100% + 140px);object-position:center bottom}
}
.hero-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(5,16,36,.97),rgba(5,16,36,.78) 25%,transparent 65%);pointer-events:none}
.hero-copy{padding:28px 32px}
.hero-copy h1{font-size:clamp(30px,3.2vw,44px);line-height:1.15;margin-bottom:12px}
.home-page .hero-copy>p.text-bmu-light{font-size:14px;line-height:1.55;margin-bottom:16px;color:#d1dae8}
.brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 48px;
    object-fit: contain;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html { scroll-padding-top: 100px; }
h1, h2, h3 { overflow-wrap: anywhere; }
.content-body { color: #8E9EBB; line-height: 1.9; overflow-wrap: anywhere; }
.content-body p { margin: 0 0 1.25rem; }
.content-body h2 { color: white; font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.content-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-body li { margin-bottom: .5rem; }
:focus-visible { outline: 2px solid #00E5FF; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { transition: none !important; }
}

/* Custom scrollbar for premium feel */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #051024; 
}
::-webkit-scrollbar-thumb {
    background: #152C55; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8; 
}

.hero-video{position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .6s ease}
.hero-video.is-playing{opacity:1}.hero-video iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0;max-width:none}
.hero-video-controls{position:absolute;top:16px;right:16px;left:16px;z-index:20;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
.hero-video-controls[hidden],.hero-video-controls button[hidden]{display:none}
.hero-video-controls button{border:1px solid #ffffff55;border-radius:999px;background:#07101ee6;color:white;padding:8px 12px;font-size:12px;cursor:pointer}
.hero-video-controls button:hover{border-color:#00e5ff}.hero-video-status{font-size:12px;background:#07101ee6;color:white;border-radius:8px}.hero-video-status:not(:empty){padding:6px 10px}

.company-video-frame{position:relative;aspect-ratio:16/9;min-height:202px;overflow:hidden;border:1px solid #172745;border-radius:16px;background:#0b162c}
.company-video-frame iframe{display:block;width:100%;height:100%;position:absolute;inset:0;border:0}
.company-video-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.company-video-card{min-width:0;overflow:hidden;border:1px solid #172745;border-radius:16px;background:#0b162c;display:flex;flex-direction:column}
.company-video-card .company-video-frame{border:0;border-radius:0;min-height:200px}
.company-video-caption{padding:12px 16px;overflow-wrap:anywhere}
.company-video-caption h3{font-size:16px;line-height:1.5;font-weight:600;margin:0}
.company-video-caption a{display:inline-flex;align-items:center;min-height:44px;color:#00e5ff;font-size:13px}
@media(min-width:768px){
    .company-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .company-video-card:first-child{grid-column:1/-1}
}
@media(min-width:1200px){
    .company-video-grid{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr))}
    .company-video-card:first-child{grid-column:1;grid-row:span 2}
    .company-video-card:first-child .company-video-frame{flex:1}
}
.company-video-grid--single{grid-template-columns:minmax(0,1fr)}
.company-video-grid--single .company-video-card:first-child{grid-column:auto;grid-row:auto}

/* Comfortable touch targets without changing the desktop composition. */
#menu-toggle{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:10px}
.hero-video-controls button{min-height:44px}
@media(max-width:767px){
    html{scroll-padding-top:80px}
    nav>div:first-child>div{height:64px}
    nav>div:first-child{padding-left:16px;padding-right:16px}
    #mobile-menu{max-height:calc(100dvh - 64px);padding:8px 16px 16px}
    #mobile-menu a{min-height:44px;font-size:16px;display:flex;align-items:center;overflow-wrap:anywhere}
    .home-page>section{padding-top:36px;padding-bottom:36px}
    .home-page>section>div{padding-left:16px;padding-right:16px}
    .home-page>.home-hero{padding-top:84px;padding-bottom:28px}
    .home-hero>div>.grid{gap:12px}
    .hero-feature{min-height:0;background:#0b162c}
    .hero-media{position:relative;inset:auto;aspect-ratio:4/3;flex-shrink:0}
    .hero-media>img{transform:scale(1.3);transform-origin:50% 70%}
    .hero-shade{display:none}
    .hero-copy{padding:20px;margin-top:0}
    .hero-copy h1{font-size:clamp(23px,5.6vw,30px);line-height:1.18;margin-bottom:12px}
    .home-page .hero-copy>p.text-bmu-light{font-size:13px;line-height:1.5;margin-bottom:16px}
    .hero-copy>a{font-size:14px;min-height:46px;padding:12px 18px;max-width:100%;white-space:normal}
    .hero-video-controls{top:12px;left:12px;right:12px}
    .hero-tiles{gap:12px}
    .hero-tiles>div{height:144px;min-width:0}
    .hero-tiles>div>div:last-of-type{padding:14px}
    .hero-tiles h3{font-size:16px}
    .home-page h2{font-size:26px;line-height:1.25}
    .home-page p.text-bmu-light{font-size:14px;line-height:1.65}
    .home-page a>svg{flex-shrink:0}
    #services>div>div:first-child,#portfolio>div>div:first-child{gap:16px;margin-bottom:22px;padding-bottom:18px}
    #services>div>div:first-child a,#portfolio>div>div:first-child a{min-height:44px;font-size:14px}
    .service-grid{gap:12px}
    .service-card{padding:18px;min-width:0}
    .service-card>div:first-child{margin-bottom:12px}
    .service-card>div:first-child svg{width:24px;height:24px}
    .service-card h3{font-size:16px;line-height:1.4;margin-bottom:12px}
    .service-card ul{font-size:13px;line-height:1.6}
    .service-card li{align-items:flex-start}
    .service-card li>span{margin-top:8px}
    .service-card>span:last-child{margin-top:16px;font-size:13px}
    .portfolio-lead{display:flex;flex-direction:column;justify-content:flex-end;min-height:260px}
    .portfolio-lead>div:last-child{position:relative;padding:22px}
    .portfolio-lead h3{font-size:23px;line-height:1.3}
    .portfolio-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .portfolio-tiles>a{height:auto;min-height:180px;display:flex;align-items:flex-end;padding-top:56px}
    .portfolio-tiles>a>div:last-child{position:relative;padding:14px}
    .portfolio-tiles h3{font-size:14px;line-height:1.45}
    #video-perusahaan>div>div:first-child{margin-bottom:20px;padding-bottom:18px}
    #video-perusahaan>div>a{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:14px}
    #about>div>.grid,#coverage>div>.grid{gap:28px}
    #about>div>.grid>div,#coverage>div>.grid>div{min-width:0}
    #about>div>.grid>div:not(:first-child){margin-top:0;text-align:left}
    #about>div>.grid>div:last-child>p{text-align:left;margin-bottom:20px}
    #about>div>.grid>div:first-child{height:260px}
    #about a,#coverage a{min-height:44px;font-size:14px}
    #coverage>div>.grid>div:first-child{text-align:left}
    #coverage>div>.grid>div:nth-child(2){min-height:250px;padding-top:20px;padding-bottom:20px}
    #coverage>div>.grid>div:last-child{min-height:0;padding:24px}
    #coverage ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
    #coverage ul>li{margin-top:0;font-size:14px;align-items:flex-start}
    #coverage ul>li>span{flex-shrink:0;margin-top:7px}
    footer{padding-top:36px}
    footer>div{padding-left:16px!important;padding-right:16px!important}
    footer a{min-height:44px;overflow-wrap:anywhere}
    footer .flex-wrap a{display:inline-flex;align-items:center;font-size:12px}
}
@media(min-width:380px) and (max-width:767px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{padding:16px}}
