html,body{margin:0;padding:0;background:#F7F4EC}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:#0F1A2B;text-decoration:none}
a:hover{color:#A63A28}
input,select,textarea,button{font:inherit}
summary::-webkit-details-marker{display:none}
::selection{background:#0F1A2B;color:#F7F4EC}
@keyframes nodepulse{0%,100%{opacity:.35}50%{opacity:1}}
@media (prefers-reduced-motion: reduce){*{animation:none !important;transition:none !important;scroll-behavior:auto !important}}

/* language visibility */
#app.lang-en .ja-only{display:none !important}
#app.lang-ja .en-only{display:none !important}

/* responsive header (breakpoint 920px) */
.show-wide{display:flex}
.show-narrow{display:none}
@media (max-width:919px){.show-wide{display:none !important}.show-narrow{display:flex !important}}

/* The shared header is injected into a bare [data-site-header] wrapper. That
   wrapper is exactly as tall as its contents, so a position:sticky header inside
   it has no range to stick within and scrolls away with the page. Removing the
   wrapper's box makes the header stick against #app (the page-tall ancestor)
   while the utility bar above it still scrolls off. */
[data-site-header]{display:contents}

/* Once the page moves, the pinned header lifts off the content with a soft
   shadow, tightens from 72px to 60px and, in the mobile layout, narrows its side
   gutter so the shorter bar also reads as denser. The bar's height and padding
   are inline on the markup, hence !important here. */
.site-header{transition:box-shadow .18s ease}
.site-header>div{transition:height .18s ease, padding .18s ease}
.site-header.is-scrolled{box-shadow:0 6px 20px rgba(15,26,43,.10)}
.site-header.is-scrolled>div{height:60px!important}
@media (max-width:919px){.site-header.is-scrolled>div{padding:0 clamp(12px,3vw,28px)!important}}

/* mobile menu */
#mobileMenu{display:none}
#app.menu-open #mobileMenu{display:flex}

/* utility bar location line: hidden on small screens so it never wraps */
@media (max-width:600px){.util-loc{display:none !important}}

/* Firm lockup: the legal name sits beside the MDK wordmark on roomy screens
   and collapses away before it can crowd the navigation. */
.brand-legal{display:none}
@media (min-width:1200px){.brand-legal{display:block}}

/* skip link + visible keyboard focus (WCAG 2.4.1, 2.4.7, 2.4.11) */
.skip-link{position:fixed;left:12px;top:12px;z-index:200;transform:translateY(-240%);background:#0F1A2B;color:#F7F4EC;padding:12px 18px;font-size:14px;font-weight:600;text-decoration:underline}
.skip-link:focus{transform:none;outline:3px solid #A63A28;outline-offset:2px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #A63A28;outline-offset:2px}
#main{scroll-margin-top:96px}
/* A section reached by an in-page link (/services#cfo) must clear the sticky header. */
main section[id]{scroll-margin-top:96px}

/* insights index: cover plate, category/date, headline */
.insight-row{display:grid;grid-template-columns:240px auto minmax(0,1fr);gap:18px 32px;align-items:center;padding:clamp(20px,3vw,28px) 0;border-top:1px solid rgba(15,26,43,.15);color:#0F1A2B}
.insight-row img{width:100%;height:auto;display:block;border:1px solid rgba(15,26,43,.15);background:#F1EDE2}
@media (max-width:919px){.insight-row{grid-template-columns:1fr;gap:12px}.insight-row img{max-width:100%}}
