/* Editorial image cards with progressive motion, scoped to the homepage. */
body .qe.qe-home.qm-home-industries {
  --qe-bg: #fff;
  --qe-text: #181b20;
  --qe-muted: #626970;
  --qe-line: #dadfe5;
  background: #fff;
  color: #181b20;
  padding: clamp(64px, 7vw, 108px) 0;
}
.qm-home-industries, .qm-home-industries * { box-sizing: border-box; }
.qm-home-industries .qe-wrap { width: min(calc(100% - 96px), 1440px); margin: 0 auto; }
.qm-home-industries .qm-home-industry-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 40px;
}
.qm-home-industries .qe-eyebrow { margin: 0 0 20px; color: #626970; font-size: 11px; line-height: 1.6; letter-spacing: .12em; }
.qm-home-industries .qm-home-industry-header h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.04em;
}
.qm-home-industries .qm-home-industry-header > p {
  max-width: 420px;
  margin: 0 0 6px;
  color: #626970;
  font-size: 16px;
  line-height: 1.8;
}
.qm-home-industries .qm-home-industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qm-home-industries .qm-home-industry-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  height: 400px;
  padding: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #273341;
  color: #181b20;
  text-decoration: none;
}
.qm-home-industries .qm-industry-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--industry-position, center);
  transition: transform 700ms cubic-bezier(.22,1,.36,1);
}
.qm-home-industries .qm-home-industry-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(4,12,24,.14), transparent 35%, rgba(4,12,24,.22));
  pointer-events: none;
}
.qm-home-industries .qm-industry-number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #283746;
  font-size: 12px;
  line-height: 1;
}
.qm-home-industries .qm-industry-copy {
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  background: rgba(250,252,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.qm-home-industries .qm-industry-copy small {
  display: block;
  color: #5b6570;
  font-size: 9px;
  letter-spacing: .08em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.qm-home-industries .qm-industry-copy h3 { margin: 12px 0 0; color: #181b20; font-size: 28px; font-weight: 400; line-height: 1.3; letter-spacing: -.025em; }
.qm-home-industries .qm-industry-copy p { margin: 14px 0 0; color: #4d5760; font-size: 14px; line-height: 1.8; }
.qm-home-industries .qm-industry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: #203b57;
  font-size: 13px;
  line-height: 1.6;
}
.qm-home-industries .qm-industry-cta b,
.qm-home-industries .qm-home-international b { display: inline-block; font-size: 20px; font-weight: 400; transition: transform 250ms ease; }
.qm-home-industries .qm-home-industry-card:hover .qm-industry-image,
.qm-home-industries .qm-home-industry-card:focus-visible .qm-industry-image { transform: scale(1.045); }
.qm-home-industries .qm-home-industry-card:hover .qm-industry-cta b,
.qm-home-industries .qm-home-industry-card:focus-visible .qm-industry-cta b,
.qm-home-industries .qm-home-international:hover b { transform: translate(3px, -3px); }
.qm-home-industries a:focus-visible { outline: 3px solid #287ad2; outline-offset: 4px; }
.qm-home-industries .qm-home-international {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
  padding: 30px 36px;
  border-radius: 12px;
  background: #152a40;
  color: #fff;
  text-decoration: none;
  transition: background 250ms ease;
}
.qm-home-industries .qm-home-international small { display: block; color: #b4c4d5; font-size: 9px; letter-spacing: .09em; line-height: 1.6; }
.qm-home-industries .qm-home-international h3 { margin: 10px 0 0; color: #fff; font-size: 28px; font-weight: 400; line-height: 1.4; }
.qm-home-industries .qm-home-international p { max-width: 430px; margin: 0; color: #c8d3de; font-size: 14px; line-height: 1.8; }
.qm-home-industries .qm-home-international > span { display: flex; align-items: center; gap: 20px; color: #fff; font-size: 13px; line-height: 1.6; }
.qm-home-industries .qm-home-international:hover { background: #203c57; }
.qm-home-industries .qm-home-industry-footer { margin-top: 28px; text-align: right; }
.qm-home-industries .qm-home-industry-footer a { display: inline-flex; align-items: center; gap: 24px; padding: 10px 0; border-bottom: 1px solid #858f99; color: #203b57; font-size: 14px; line-height: 1.6; text-decoration: none; }
/* Full content remains readable when JavaScript is unavailable. */
@media (min-width: 1100px) {
  .qm-home-industries.is-enhanced .qm-home-industry-grid { display: flex; gap: 12px; }
  .qm-home-industries.is-enhanced .qm-home-industry-card { flex: 1 1 0; min-width: 142px; height: 460px; padding: 12px; transition: flex-grow 700ms cubic-bezier(.22,1,.36,1); }
  .qm-home-industries.is-enhanced .qm-home-industry-card.is-active { flex-grow: 2.5; }
  .qm-home-industries.is-enhanced .qm-industry-copy { padding: 18px 16px; background:#edf1f7; backdrop-filter:none; -webkit-backdrop-filter:none; }
  .qm-home-industries.is-enhanced .qm-industry-copy h3 { font-size: 25px; }
  .qm-home-industries.is-enhanced .qm-industry-copy p { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; transition: max-height 650ms cubic-bezier(.22,1,.36,1), margin-top 650ms cubic-bezier(.22,1,.36,1), opacity 350ms ease; }
  .qm-home-industries.is-enhanced .is-active .qm-industry-copy p { max-height: 72px; opacity: 1; margin-top: 14px; transition-delay: 100ms; }
  .qm-home-industries.is-enhanced .qm-industry-cta { font-size: 11px; gap: 4px; }
  .qm-home-industries.is-enhanced .is-active .qm-industry-cta { font-size: 11px; }
}
@keyframes qm-industry-arrive {
  from { opacity: .25; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.qm-home-industries.is-entering .qm-home-industry-header,
.qm-home-industries.is-entering .qm-home-industry-card,
.qm-home-industries.is-entering .qm-home-international { animation: qm-industry-arrive 600ms cubic-bezier(.2,.65,.3,1) both; }
.qm-home-industries.is-entering .qm-home-industry-card:nth-child(2) { animation-delay: 55ms; }
.qm-home-industries.is-entering .qm-home-industry-card:nth-child(3) { animation-delay: 110ms; }
.qm-home-industries.is-entering .qm-home-industry-card:nth-child(4) { animation-delay: 165ms; }
.qm-home-industries.is-entering .qm-home-industry-card:nth-child(5) { animation-delay: 220ms; }
.qm-home-industries.is-entering .qm-home-international { animation-delay: 250ms; }
@media (max-width: 1099px) {
  .qm-home-industries .qm-home-industry-header { gap: 32px; }
  .qm-home-industries .qm-industry-copy { padding: 18px; }
  .qm-home-industries .qm-home-international { gap: 28px; grid-template-columns: 1fr 1.6fr; }
  .qm-home-industries .qm-home-international > span { grid-column: 2; }
}
@media (max-width: 760px) {
  .qm-home-industries .qe-wrap { width: calc(100% - 40px); }
  .qm-home-industries .qm-home-industry-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .qm-home-industries .qm-home-industry-header > p { max-width: 560px; font-size: 14px; }
  .qm-home-industries .qm-home-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qm-home-industries .qm-home-industry-card { height: 360px; padding: 12px; }
  .qm-home-industries .qm-home-industry-card:first-child { grid-column: 1 / -1; height: 340px; }
  .qm-home-industries .qm-industry-copy h3 { font-size: 25px; }
  .qm-home-industries .qm-industry-copy p { font-size: 13px; }
  .qm-home-industries .qm-industry-cta { font-size: 12px; }
  .qm-home-industries .qm-home-international { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  .qm-home-industries .qm-home-international > span { grid-column: auto; justify-content: space-between; }
  .qm-home-industries .qm-home-industry-footer { text-align: left; }
}
@media (max-width: 480px) {
  .qm-home-industries .qm-home-industry-grid { grid-template-columns: 1fr; }
  .qm-home-industries .qm-home-industry-card,
  .qm-home-industries .qm-home-industry-card:first-child { height: 340px; }
  .qm-home-industries .qm-industry-copy { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .qm-home-industries *, .qm-home-industries *::before { animation: none !important; transition: none !important; }
  .qm-home-industries .qm-home-industry-card:hover .qm-industry-image,
  .qm-home-industries .qm-home-industry-card:focus-visible .qm-industry-image { transform: none; }
}

/* Frosted glass surface for homepage industry cards */
.qm-home-industries .qm-industry-copy,.qm-home-industries.is-enhanced .qm-industry-copy{background:rgba(241,247,253,.72)!important;border:1px solid rgba(255,255,255,.76);border-radius:18px;box-shadow:0 12px 34px rgba(7,18,33,.13),inset 0 1px 0 rgba(255,255,255,.6);-webkit-backdrop-filter:blur(20px) saturate(155%);backdrop-filter:blur(20px) saturate(155%)}
.qm-home-industries .qm-industry-copy small{color:#536271}
.qm-home-industries .qm-industry-copy h3{color:#172a38}
.qm-home-industries .qm-industry-copy p{color:#455564}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.qm-home-industries .qm-industry-copy,.qm-home-industries.is-enhanced .qm-industry-copy{background:rgba(241,247,253,.93)!important}}

/* Six equal industry and international project cards. */
body .qm-home-industries .qm-home-industry-grid,
body .qm-home-industries.is-enhanced .qm-home-industry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
body .qm-home-industries .qm-home-industry-card,
body .qm-home-industries.is-enhanced .qm-home-industry-card { height:400px; min-width:0; padding:16px; grid-column:auto; }
body .qm-home-industries .qm-industry-copy,
body .qm-home-industries.is-enhanced .qm-industry-copy { display:flex; flex-direction:column; padding:22px; }
body .qm-home-industries .qm-industry-copy small { min-height:15px; }
body .qm-home-industries .qm-industry-copy h3 { min-height:37px; font-size:28px; }
body .qm-home-industries .qm-industry-copy p,
body .qm-home-industries.is-enhanced .qm-industry-copy p { min-height:51px; max-height:none; margin:14px 0 0; opacity:1; overflow:visible; }
body .qm-home-industries .qm-industry-cta,
body .qm-home-industries.is-enhanced .qm-industry-cta { font-size:13px; margin-top:20px; }
.qm-home-industries.is-entering .qm-home-industry-card:nth-child(6) { animation-delay:275ms; }
@media(max-width:1099px) {
 body .qm-home-industries .qm-home-industry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:599px) {
 body .qm-home-industries .qm-home-industry-grid { grid-template-columns:minmax(0,1fr); }
 body .qm-home-industries .qm-home-industry-card { height:360px; padding:16px; }
 body .qm-home-industries .qm-industry-copy { padding:22px; }
}

/* Public institutions and a separate international project row. */
html body.qm-home-black #home-industries .qm-industry-examples { display:block; color:#536271; font-size:12px; line-height:1.65; margin:12px 0; }
html body.qm-home-black #home-industries .qm-industry-public .qm-industry-copy { min-height:280px; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] { grid-column:1/-1; height:340px !important; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-copy { width:calc(100% - 40px); }
@media(max-width:599px) { html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] { height:400px !important; } }

/* Refined industry gallery: visible photographs and calm silver copy panels. */
html body.qm-home-black #home-industries .qm-home-industry-grid { gap:26px; align-items:stretch; }
html body.qm-home-black #home-industries .qm-home-industry-card { display:flex; flex-direction:column; align-items:stretch; height:auto !important; min-height:0; padding:0; border-radius:16px; background:#d4d8dd; box-shadow:none; border:1px solid #343a41; }
html body.qm-home-black #home-industries .qm-home-industry-card::before,
html body.qm-home-black #home-industries .qm-home-industry-card::after { display:none; }
html body.qm-home-black #home-industries .qm-industry-image { position:relative; z-index:0; inset:auto; display:block; width:100%; height:230px; flex:0 0 230px; object-fit:cover; }
html body.qm-home-black #home-industries .qm-industry-copy { position:relative; z-index:1; flex:1; width:100%; min-height:260px; padding:28px; margin:0; border:0; border-radius:0; background:#d4d8dd !important; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
html body.qm-home-black #home-industries .qm-industry-public .qm-industry-copy { min-height:260px; }
html body.qm-home-black #home-industries .qm-industry-copy small { color:#67727f; font-size:10px; letter-spacing:.12em; min-height:15px; }
html body.qm-home-black #home-industries .qm-industry-copy h3 { color:#222d38; font-size:28px; line-height:1.4; min-height:0; margin:14px 0 0; font-weight:500; }
html body.qm-home-black #home-industries .qm-industry-copy p { color:#52606e; font-size:14px; line-height:1.85; min-height:52px; margin:14px 0 0; }
html body.qm-home-black #home-industries .qm-industry-examples { color:#697581; font-size:11px; line-height:1.7; margin:10px 0 14px; }
html body.qm-home-black #home-industries .qm-industry-cta { border-top:1px solid #bac1c8; padding-top:16px; margin-top:auto; color:#293c4e; font-size:13px; }
html body.qm-home-black #home-industries .qm-industry-cta b { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; border:1px solid #a8b2bd; font-size:18px; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] { grid-column:1/-1; display:grid; grid-template-columns:1.05fr 1fr; height:auto !important; min-height:320px; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-image { grid-column:2; grid-row:1; height:100%; min-height:320px; max-height:380px; object-position:50% 50%; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-copy { grid-column:1; grid-row:1; width:100%; padding:38px; min-height:320px; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-copy h3 { font-size:34px; }
html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-copy p { max-width:480px; }
html body.qm-home-black #home-industries .qm-home-industry-card:focus-visible { outline:2px solid #d8dde3; outline-offset:5px; }
@media(hover:hover) { html body.qm-home-black #home-industries .qm-home-industry-card:hover { border-color:#7f8b98; } html body.qm-home-black #home-industries .qm-home-industry-card:hover .qm-industry-image { transform:scale(1.025); } }
@media(max-width:1099px) { html body.qm-home-black #home-industries .qm-home-industry-grid { gap:22px; } html body.qm-home-black #home-industries .qm-industry-image { height:210px; flex-basis:210px; } }
@media(max-width:599px) { html body.qm-home-black #home-industries .qm-home-industry-grid { gap:24px; } html body.qm-home-black #home-industries .qm-industry-copy { padding:24px; min-height:250px; } html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] { display:flex; } html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-image { height:220px; min-height:0; flex-basis:220px; } html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-copy { min-height:260px; padding:24px; } html body.qm-home-black #home-industries .qm-home-industry-card[data-industry-wide] .qm-industry-copy h3 { font-size:28px; } }
@media(prefers-reduced-motion:reduce) { html body.qm-home-black #home-industries .qm-home-industry-card:hover .qm-industry-image { transform:none; } }

/* Industry interactions: measured lift, photo zoom and directional feedback. */
html body.qm-home-black #home-industries .qm-home-industry-card{transition:transform .4s cubic-bezier(.2,.65,.25,1),border-color .3s,box-shadow .4s;}
html body.qm-home-black #home-industries .qm-industry-image{transition:transform .75s cubic-bezier(.2,.65,.25,1);transform-origin:center;}
html body.qm-home-black #home-industries .qm-industry-cta b{transition:transform .3s,background-color .3s,color .3s,border-color .3s;}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
html body.qm-home-black #home-industries .qm-home-industry-card:hover{transform:translateY(-6px);border-color:#a94a42;box-shadow:0 18px 38px rgba(0,0,0,.2);}
html body.qm-home-black #home-industries .qm-home-industry-card:hover .qm-industry-image{transform:scale(1.045)!important;}
html body.qm-home-black #home-industries .qm-home-industry-card:hover .qm-industry-cta b{transform:translate(2px,-2px);background:#a7352e;border-color:#a7352e;color:#fff;}
}
html body.qm-home-black #home-industries .qm-home-industry-card:focus-visible{outline:2px solid #c87166;outline-offset:5px;}
@media(prefers-reduced-motion:reduce){html body.qm-home-black #home-industries .qm-home-industry-card,html body.qm-home-black #home-industries .qm-industry-image,html body.qm-home-black #home-industries .qm-industry-cta b{transition:none!important;}}
