/* Draft-only: the Claude viewer is often narrower than a desktop browser.
   Keep the main menu (Services, Samples, ...) visible down to 761px by moving it to a second row,
   instead of hiding it behind the burger. */
@media (min-width: 761px) and (max-width: 1220px) {
  .site-header .header-row { flex-wrap: wrap; row-gap: 0; }
  .site-header .nav { display: flex !important; order: 3; flex: 0 0 100%; margin: 0 0 8px -11px; }
  .site-header .header-actions { margin-left: auto; }
  .site-header .burger { display: none !important; }
  .mega:not([hidden]) { display: block !important; }
  .home .site-header .header-row { min-height: 0; padding-top: 10px; }
  .mega .mega-media { display: none; }
  .mega .mega-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .mega .mega-panel { display: block; }
  .mega .mega-panel[hidden] { display: none; }
}

/* All pages share one header/footer here, so the home-only rules live here too. */
.brand .logo-light { display: none; }
.home .brand .logo-dark { display: none; }
.home .brand .logo-light { display: block; }
body:not(.home) .chat-bubble { display: none; }

.footer-logo { filter: none !important; }

/* service page thumbnails */
.sub-thumb { width: calc(100% + 44px); max-width: none; height: auto; margin: -22px -22px 6px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.sub { overflow: hidden; grid-template-columns: minmax(0, 1fr); }
.ml-sub-link { padding: 0; }
.ml-sub-link > a { display: grid; gap: 8px; padding: 22px; color: inherit; text-decoration: none; height: 100%; align-content: start; }
.ml-sub-link:hover { border-color: var(--gold); }
.ml-more { color: var(--blue, #084e90); font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.ml-anim-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.ml-anim-hero figcaption { font-size: 13px; color: var(--body); margin-top: 8px; }
.ml-samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.ml-sample { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ml-sample img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ml-sample figcaption { padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.ml-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ml-related a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy, #172b52); font-weight: 600; font-size: 15px; }
.ml-related a:hover { border-color: var(--gold); }
.page-hero .kicker a { color: inherit; text-decoration: none; }
.ml-tour-h { font-size: 24px; margin-top: 44px; }
.ml-kp { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.ml-kp li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ml-kp h3 { font-size: 16.5px; margin: 2px 0 4px; }
.ml-kp p { color: var(--body); font-size: 15px; line-height: 1.5; margin: 0; }
.ml-kp-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #dcf1f7; display: grid; place-items: center; }
.ml-kp-ico svg, .ml-phase svg { width: 24px; height: 24px; fill: none; stroke: #084e90; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ml-phases { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.ml-phase { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 14px 40px; border: 0; cursor: pointer; font: 600 15px/1.25 var(--display, inherit); color: #fff; text-align: center; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%, 28px 50%); margin-right: -14px; opacity: .55; transition: opacity .2s; }
.ml-phase:first-child { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%); }
.ml-phase[aria-selected='true'], .ml-phase:hover { opacity: 1; }
.ml-phase-investigation { background: #084e90; }
.ml-phase-settlement { background: #e7b421; color: #172b52; }
.ml-phase-trial { background: #172b52; }
.ml-phase svg { stroke: currentColor; width: 30px; height: 30px; }
.ml-phase-pane { margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid #e7b421; border-radius: var(--radius); background: #fff; }
.ml-phase-pane h3 { font-size: 18px; margin: 0; }
.ml-phase-tag { color: #084e90; font-weight: 600; font-size: 14px; margin: 4px 0 10px; }
.ml-phase-pane p:last-child { color: var(--body); font-size: 16px; line-height: 1.6; margin: 0; max-width: 72ch; }
.ml-proc { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; counter-reset: pr; }
.ml-proc li { counter-increment: pr; padding: 18px; border-top: 3px solid #e7b421; background: #fff; border-radius: 0 0 var(--radius) var(--radius); color: var(--body); font-size: 15px; line-height: 1.5; }
.ml-proc strong { display: block; font-family: var(--display); color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.ml-proc strong::before { content: counter(pr) ". "; color: #e7b421; }
@media (max-width: 760px) { .ml-phases { grid-template-columns: 1fr; } .ml-phase { clip-path: none !important; margin: 0 0 6px; min-height: 0; flex-direction: row; } }
.ml-wa-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.ml-wa { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: #172b52; }
.ml-wa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.ml-wa:hover img { transform: scale(1.04); }
.ml-wa-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,43,82,.92) 0%, rgba(23,43,82,.62) 38%, rgba(23,43,82,0) 70%); }
.ml-wa-body { position: relative; padding: 22px 24px; color: #fff; }
.ml-wa-body h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.ml-wa-body h3::before { content: ''; display: block; width: 34px; height: 3px; background: #e7b421; margin-bottom: 12px; }
.ml-wa-body p { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.5; margin: 0; max-width: 46ch; }
.ml-wa-grid.ml-wa-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ml-wa-grid.ml-wa-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ml-wa-n3 .ml-wa { aspect-ratio: 4 / 4.2; }
@media (max-width: 860px) { .ml-wa-grid.ml-wa-n4, .ml-wa-grid.ml-wa-n3 { grid-template-columns: 1fr; } .ml-wa-n3 .ml-wa { aspect-ratio: 16 / 11; } }
.ml-early { margin-top: 24px; padding: 22px 26px; border-radius: var(--radius); background: #172b52; color: #fff; border-left: 4px solid #e7b421; }
.ml-early h3 { color: #fff; font-size: 19px; margin: 0 0 6px; }
.ml-early p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.6; margin: 0; max-width: 80ch; }
.chat-bubble { display: none !important; }
.ml-dock { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: flex; flex-direction: column; gap: 10px; }
.ml-dock a { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #172b52; color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(18,25,54,.28); transition: transform .2s ease, background .2s ease; }
.ml-dock a:first-child { background: #e7b421; color: #172b52; }
.ml-dock a:hover { transform: translateY(-2px); background: #084e90; color: #fff; }
.ml-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ml-dock span { position: absolute; right: 56px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: #172b52; color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.ml-dock a:hover span, .ml-dock a:focus-visible span { opacity: 1; transform: translateY(-50%); }
@media (max-width: 640px) { .ml-dock { right: 12px; bottom: 12px; gap: 8px; } .ml-dock a { width: 42px; height: 42px; } }
.ml-wa-acts { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.ml-wa-acts a { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,43,82,.82); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); transition: background .2s ease, transform .2s ease; }
.ml-wa-acts a:hover { background: #e7b421; color: #172b52; transform: translateY(-2px); }
.ml-wa-acts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ml-wa-acts span { position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; background: #172b52; color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 7px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.ml-wa-acts a:hover span, .ml-wa-acts a:focus-visible span { opacity: 1; transform: translateX(-50%); }
.ml-tip-kicker { margin: 44px 0 0; display: inline-block; padding: 4px 12px; border-radius: 999px; background: #e7b421; color: #172b52; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.ml-tour-h-tip { margin-top: 10px; }
.ml-phase-pane p:last-of-type { margin-bottom: 0; }
.ml-phase-link { display: inline-block; margin-top: 14px; color: #084e90; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid #e7b421; padding-bottom: 2px; }
.ml-phase-link:hover { color: #172b52; }
.ml-consult { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 18px; border-radius: 999px; background: #dcf1f7; color: #172b52; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s ease; }
.ml-consult:hover { background: #a6e1ff; }
.ml-consult-dot { width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }
/* chevrons with tips inside */
.ml-phase { position: relative; min-height: 250px; padding: 22px 46px; opacity: 1 !important; display: block; cursor: default; overflow: hidden; }
.ml-phase-face, .ml-phase-tip { position: absolute; inset: 0; padding: 22px 54px; display: flex; flex-direction: column; justify-content: center; transition: opacity .3s ease, transform .3s ease; }
.ml-phase-face { align-items: center; text-align: center; gap: 10px; }
.ml-phase-face svg { width: 38px; height: 38px; }
.ml-phase-face span { font: 700 17px/1.25 var(--display, inherit); }
.ml-phase-face em { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .75; }
.ml-phase-tip { opacity: 0; transform: translateY(10px); align-items: flex-start; text-align: left; gap: 8px; }
.ml-phase-tip strong { font: 700 15px/1.25 var(--display, inherit); }
.ml-phase-tip p { margin: 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; }
.ml-phase:hover .ml-phase-face, .ml-phase:focus-within .ml-phase-face, .ml-phase.is-open .ml-phase-face { opacity: 0; transform: translateY(-10px); }
.ml-phase:hover .ml-phase-tip, .ml-phase:focus-within .ml-phase-tip, .ml-phase.is-open .ml-phase-tip { opacity: 1; transform: none; }
.ml-phase .ml-phase-link { margin-top: 6px; color: #e7b421; border-bottom-color: #e7b421; font-size: 14px; }
.ml-phase-settlement .ml-phase-link { color: #172b52; border-bottom-color: #172b52; }
.ml-phase-investigation .ml-phase-tip p, .ml-phase-trial .ml-phase-tip p { color: rgba(255,255,255,.92); }
.ml-phase-settlement .ml-phase-tip p { color: #172b52; }
@media (max-width: 760px) {
  .ml-phase { min-height: 0; padding: 0; }
  .ml-phase-face, .ml-phase-tip { position: static; opacity: 1 !important; transform: none !important; padding: 18px 20px; }
  .ml-phase-face { flex-direction: row; justify-content: flex-start; padding-bottom: 0; }
  .ml-phase-face em, .ml-phase-tip strong { display: none; }
}
.ml-intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ml-intro-row .simple-text { margin-bottom: 0; }
.ml-intro-row .ml-consult { flex: none; margin: 0; padding: 7px 14px; font-size: 13.5px; gap: 8px; }
.ml-intro-row .ml-consult-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(47,191,113,.2); }
@media (max-width: 760px) { .ml-intro-row { flex-direction: column; align-items: flex-start; gap: 12px; } }
.ml-intro-row { justify-content: flex-start; gap: 32px; }
/* half height chevrons */
.ml-phase { min-height: 128px; }
.ml-phase-face, .ml-phase-tip { padding: 10px 46px 10px 50px; }
.ml-phase-face { gap: 6px; }
.ml-phase-face svg { width: 28px; height: 28px; }
.ml-phase-face span { font-size: 15.5px; }
.ml-phase-face em { font-size: 11px; }
.ml-phase-tip { gap: 4px; }
.ml-phase-tip strong { display: none; }
.ml-phase-tip p { font-size: 13.5px; line-height: 1.4; }
.ml-phase .ml-phase-link { margin-top: 2px; font-size: 13px; }
