/* MMWB Case Studies. Shared site shell and one page-specific stylesheet.
   Case copy and image files are preserved. No global font substitutions. */
:root {
  --mmwb-electric: #087eff;
  --mmwb-blue: #2c8ce8;
  --mmwb-sky: #6bbcff;
  --mmwb-yellow: #ffd400;
  --mmwb-ink: #1b2535;
  --mmwb-navy: #061730;
  --mmwb-content-width: 1140px;
  --mmwb-header-height: 64px;
  --mmwb-jump-height: 70px;
  --bs-body-font-family: "Inter", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mmwb-header-height) + var(--mmwb-jump-height) + 20px); }
body.mmwb-case-studies-page {
  margin: 0; padding: 0; color: var(--mmwb-ink); background: #fff;
  font-family: "Inter", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.6;
}
button, input, select, textarea { font-family: inherit; }
a { text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #69bfff; outline-offset: 4px; }
.mmwb-skip-link { position: fixed; left: 20px; top: -100px; z-index: 2200; color: #fff; background: #061730; padding: 12px 18px; border-radius: 6px; }
.mmwb-skip-link:focus { top: 12px; }

/* The site's actual Blocs navbar: blue gradient, original logo and menus.
   Top-level direct links AND .dropdown > .nav-link receive identical typography. */
#bloc-0 {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: linear-gradient(267deg, #0056af 50%, #007eff 100%);
  font-family: "Inter", sans-serif; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
#bloc-0 > .container { width: calc(100% - 48px); max-width: var(--mmwb-content-width); padding: 0; }
#bloc-0 > .container > .row { margin: 0; }
#bloc-0 > .container > .row > div { padding: 0; }
#bloc-0 .navbar { min-height: 63px; margin: 0; padding: 0; }
#bloc-0 .navbar > .container-fluid { padding: 0; }
#bloc-0 .navbar-brand { display: inline-flex; align-items: center; padding: 0; margin: 0 52px 0 0; line-height: 1; flex-shrink: 0; }
#bloc-0 .navbar-brand img { display: block; width: 169px; height: 38px; object-fit: contain; }
#bloc-0 .top-menu-items { gap: 0; margin: 0 0 0 auto; padding: 0; align-items: center; }
#bloc-0 .top-menu-items > li > .nav-link,
#bloc-0 .top-menu-items > li > .dropdown > .nav-link {
  display: block; padding: 10px 9px; margin: 0; border: 0; border-radius: 6px;
  font-family: "Inter", sans-serif; font-size: 15px; font-weight: 500;
  font-style: normal; line-height: 1.5; letter-spacing: 0; text-transform: none;
  color: rgba(255,255,255,.92); background: transparent;
  box-shadow: none; text-shadow: none; text-decoration: none; white-space: nowrap;
  transition: color .16s ease;
}
#bloc-0 .top-menu-items > li > .nav-link:hover,
#bloc-0 .top-menu-items > li > .dropdown > .nav-link:hover { color: #fff; }
#bloc-0 .top-menu-items > li > .nav-link.active { font-weight: 700; color: #fff; }
#bloc-0 .dropdown { position: relative; }
#bloc-0 .dropdown-toggle::after { margin-left: .32em; vertical-align: .17em; }
#bloc-0 .dropdown-menu {
  top: 100%; margin: 0; min-width: 238px; padding: 6px;
  border: 1px solid rgba(140,200,255,.18); border-radius: 11px;
  background: rgba(5,21,46,.985); box-shadow: 0 12px 28px rgba(0,12,32,.20);
}
#bloc-0 .dropdown-menu .nav-link {
  display: block; padding: 9px 11px; margin: 0; border: 0; border-radius: 7px;
  color: #dce9f6; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500;
  font-style: normal; line-height: 1.42; letter-spacing: 0; text-transform: none;
  text-decoration: none; white-space: nowrap; background: transparent;
  box-shadow: none; transition: color .18s ease, background-color .18s ease;
}
#bloc-0 .dropdown-menu .nav-link:hover,
#bloc-0 .dropdown-menu .nav-link:focus {
  color: #fff; background: rgba(58,143,226,.17); box-shadow: none; text-decoration: none;
}
#bloc-0 .dropdown-menu .nav-link:focus-visible {
  outline: 0; color: #fff; background: rgba(79,161,241,.29);
}
#bloc-0 .navbar-toggler { width: 44px; height: 44px; color: #fff; }
#bloc-0 .navbar-toggler:focus { box-shadow: none; }
#bloc-0 .navbar-toggler-icon { width: 30px; height: 30px; background-image: none; }
#bloc-0 .navbar-toggler-icon svg { display: block; width: 30px; height: 30px; }
#bloc-0 .svg-menu-icon { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* Page body. All page-specific styles are confined to cs-* classes. */
.cs-hero {
  padding: 88px 24px 84px;
  background: radial-gradient(ellipse at 58% 44%, #064a90 0, #032c54 44%, #020e18 100%);
  color: #fff;
}
.cs-hero-inner {
  width: 100%; max-width: var(--mmwb-content-width); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 68px;
}
.cs-eyebrow {
  display: inline-block; max-width: 100%; padding: 12px 22px; margin: 0 0 29px;
  color: #fff; background: var(--mmwb-electric); border-radius: 32px;
  font-size: 12px; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: .035em;
}
.cs-hero h1 {
  margin: 0 0 24px; color: #fff; font-family: "Inter", sans-serif;
  font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -.027em;
}
.cs-hero h1 em { color: var(--mmwb-yellow); font-style: normal; }
.cs-lede { color: #e0eaf5; font-size: 18px; line-height: 1.6; margin: 0; max-width: 690px; }
.cs-hero aside { padding: 18px 0 0; }
.cs-hero aside strong { display: block; color: #fff; font-size: 24px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; }
.cs-hero aside p { color: #c8dced; font-size: 16px; line-height: 1.55; margin: 0; }
.cs-hero aside p:first-of-type { margin-bottom: 29px; padding-bottom: 29px; border-bottom: 1px solid rgba(255,255,255,.19); }
.cs-jump {
  position: sticky; top: var(--mmwb-header-height); z-index: 800; padding: 0 24px;
  background: #fff; border-bottom: 1px solid #dce3ea;
}
.cs-jump > div {
  max-width: var(--mmwb-content-width); margin: 0 auto; display: flex; gap: 8px;
  overflow-x: auto; padding: 14px 0; scrollbar-width: thin; scrollbar-color: #a9bacb transparent;
}
.cs-jump a {
  flex: 0 0 auto; color: #334961; background: #f0f3f7; border: 1px solid transparent;
  border-radius: 7px; padding: 9px 12px; font-size: 12px; line-height: 1.4; font-weight: 600;
  text-decoration: none; transition: background-color .16s ease, color .16s ease;
}
.cs-jump a:hover { color: #0055b8; background: #e7f1fc; }
.cs-jump a[aria-current="location"] { color: #fff; background: #086bd6; }
.cs-intro { max-width: 940px; padding: 68px 24px 64px; text-align: center; margin: 0 auto; }
.cs-intro h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.22; letter-spacing: -.025em; font-weight: 800; color: var(--mmwb-ink); margin: 0 0 17px; }
.cs-intro p { font-size: 17px; line-height: 1.65; color: #4c5b6d; margin: 0; }
.cs-case { padding: 76px 24px; scroll-margin-top: 20px; background: #fff; }
.cs-case:nth-child(odd) { background: #f1f3f5; }
.cs-case-inner { max-width: var(--mmwb-content-width); width: 100%; margin: 0 auto; }
.cs-casehead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 58px; align-items: center; }
.cs-case:nth-child(even) .cs-casecopy { order: 2; }
.cs-case:nth-child(even) .cs-image-evidence { order: 1; }
.cs-casecopy { min-width: 0; }
.cs-num { color: #0866bf; font-size: 12px; line-height: 1.5; letter-spacing: .085em; text-transform: uppercase; font-weight: 700; margin: 0 0 18px; }
.cs-case h2 { margin: 0 0 21px; color: var(--mmwb-ink); font-size: clamp(30px, 3.1vw, 40px); line-height: 1.16; font-weight: 800; letter-spacing: -.027em; }
.cs-summary { color: #48586b; margin: 0; font-size: 18px; line-height: 1.65; }
.cs-image-evidence { min-width: 0; overflow: hidden; border-radius: 12px; background: #061730; }
.cs-case-illustration { margin: 0; }
.cs-case-illustration img { display: block; width: 100%; height: auto; object-fit: contain; }
.cs-casebody { margin: 36px 0 0; }
.cs-storygrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid #d7dfe7; padding-top: 29px; }
.cs-story { min-width: 0; }
.cs-story h3 { color: #0866bf; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 12px; }
.cs-story p { color: #364557; font-size: 16px; line-height: 1.65; margin: 0; }
.cs-cta { padding: 80px 24px; color: #fff; background: radial-gradient(ellipse at 50% 20%,#064e98 0,#032a50 50%,#020e18 100%); }
.cs-cta-inner { max-width: var(--mmwb-content-width); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 56px; align-items: center; }
.cs-cta h2 { margin: 0 0 17px; color: #fff; font-weight: 800; font-size: clamp(30px,3.3vw,42px); line-height: 1.17; letter-spacing: -.025em; max-width: 720px; }
.cs-cta p { max-width: 720px; margin: 0; color: #e0eaf4; font-size: 18px; line-height: 1.6; }
.cs-button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 14px 23px;
  font-family: "Inter",sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4;
  border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: #fff;
  background: var(--mmwb-electric); text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease;
}
.cs-button:hover { color: #fff; background: #006bdf; }
.mmwb-site-footer { padding: 28px 24px; color: #b8cde1; background: #05001f; }
.mmwb-footer-inner { width: 100%; max-width: var(--mmwb-content-width); margin: 0 auto; }
.mmwb-hidden-booking-trigger { position: absolute; width: 0; height: 0; overflow: hidden; clip-path: inset(50%); }
body.mmwb-legal-open { overflow: hidden; }

@media (max-width: 1199.98px) {
  #bloc-0 .navbar-brand { margin-right: 24px; }
  #bloc-0 .top-menu-items > li > .nav-link,
  #bloc-0 .top-menu-items > li > .dropdown > .nav-link { padding-inline: 7px; }
  .cs-hero-inner { gap: 40px; grid-template-columns: minmax(0,1fr) 235px; }
  .cs-casehead { gap: 38px; }
}
@media (max-width: 991.98px) {
  #bloc-0 .navbar-brand { margin-right: 16px; }
  #bloc-0 .navbar { min-height: 63px; }
  #bloc-0 .navbar > .container-fluid { min-height: 63px; }
  #bloc-0 .navbar-collapse { flex-basis: 100%; }
  #bloc-0 .top-menu-items { padding: 8px 0 16px; width: 100%; align-items: stretch; }
  #bloc-0 .top-menu-items > li > .nav-link,
  #bloc-0 .top-menu-items > li > .dropdown > .nav-link { padding: 11px 10px; font-size: 16px; }
  #bloc-0 .dropdown-menu { position: static; margin: 0 0 8px; width: 100%; }
  #bloc-0 .dropdown-menu .nav-link { white-space: normal; padding: 11px 12px; font-size: 14px; }
  #bloc-0 .navbar-collapse.show { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .cs-hero { padding-block: 64px; }
  .cs-hero-inner { grid-template-columns: minmax(0,1fr) 210px; gap: 32px; }
  .cs-hero aside strong { font-size: 21px; }
  .cs-hero aside p { font-size: 15px; }
  .cs-casehead { gap: 30px; }
  .cs-summary { font-size: 17px; }
  .cs-storygrid { gap: 24px; }
  .cs-story p { font-size: 15.5px; }
  .cs-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .cs-cta .cs-button { justify-self: start; }
}
@media (max-width: 767.98px) {
  .cs-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .cs-hero aside { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
  .cs-hero aside strong:first-of-type { grid-column: 1; grid-row: 1; }
  .cs-hero aside p:first-of-type { grid-column: 1; grid-row: 2; padding: 0; margin: 0; border: 0; }
  .cs-hero aside strong:last-of-type { grid-column: 2; grid-row: 1; }
  .cs-hero aside p:last-of-type { grid-column: 2; grid-row: 2; }
  .cs-hero aside strong { margin: 0; }
  .cs-hero h1 { font-size: clamp(36px, 6.5vw, 49px); }
  .cs-lede { font-size: 17px; }
  .cs-intro { padding-block: 48px; }
  .cs-case { padding-block: 52px; }
  .cs-casehead { grid-template-columns: 1fr; gap: 28px; }
  .cs-case:nth-child(even) .cs-casecopy { order: 0; }
  .cs-case:nth-child(even) .cs-image-evidence { order: 0; }
  .cs-case h2 { font-size: 34px; max-width: 620px; }
  .cs-image-evidence { width: 100%; max-width: 600px; margin-inline: auto; }
  .cs-storygrid { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .cs-story p { font-size: 16px; }
  .cs-story h3 { margin-bottom: 9px; }
  .cs-cta { padding-block: 56px; }
}
@media (max-width: 479.98px) {
  #bloc-0 > .container { width: calc(100% - 36px); }
  #bloc-0 .navbar-brand img { width: 154px; height: auto; }
  .cs-hero, .cs-case, .cs-jump, .cs-cta { padding-inline: 22px; }
  .cs-hero { padding-block: 48px; }
  .cs-eyebrow { padding: 11px 18px; margin-bottom: 24px; font-size: 11px; }
  .cs-hero h1 { font-size: 36px; letter-spacing: -.025em; }
  .cs-hero aside { gap: 8px 18px; }
  .cs-hero aside strong { font-size: 20px; }
  .cs-hero aside p { font-size: 14px; }
  .cs-intro { padding-inline: 22px; }
  .cs-intro h2 { font-size: 28px; }
  .cs-intro p { font-size: 16px; }
  .cs-case h2 { font-size: 31px; }
  .cs-num { font-size: 11px; }
  .cs-cta h2 { font-size: 32px; }
  .cs-cta p { font-size: 17px; }
  .mmwb-site-footer { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #bloc-0 a, .cs-jump a, .cs-button { transition: none; }
}
@media print {
  #bloc-0, .cs-jump, .mmwb-site-footer, .cs-button, #mmwb-legal-dialog { display: none; }
  .cs-hero, .cs-cta { background: #fff; color: #1b2535; }
  .cs-hero h1, .cs-hero h1 em, .cs-hero p, .cs-hero strong, .cs-hero aside p, .cs-cta h2, .cs-cta p { color: #1b2535; }
  .cs-case { break-inside: avoid; }
}
