/* Capabilities overview: the same photographic rows for both disciplines. */
.mnt-f.capabilities-page{--subnav-h:0px}
.mnt-f .f-cap-hero{background:var(--paper);border-bottom:1px solid var(--line)}
.mnt-f .f-cap-hero .lead{max-width:48em;margin-top:20px}
.f-cap-tools{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px}
.f-cap-jumps{display:flex;flex-wrap:wrap;gap:8px 32px}
.f-cap-jumps a,.f-cap-print,.f-cap-resources a{display:inline-flex;align-items:center;gap:12px;min-height:44px;font:500 15px/1.45 var(--sans);text-decoration:none}
.f-cap-jumps a{border-bottom:1px solid var(--blue-line)}
.f-cap-jumps svg{transform:rotate(90deg);flex:none}
.f-cap-print{background:none;border:0;padding:10px 0;color:var(--muted);flex:none}
.no-js .f-cap-print{display:none}
.f-cap-jumps a:hover,.f-cap-print:hover,.f-cap-resources a:hover{text-decoration:underline;text-underline-offset:5px}
.f-cap-section{background:var(--white)}
.f-cap-section-soft{background:var(--f-soft)}
.f-cap-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;margin-bottom:40px}
.f-cap-heading h2{font-size:clamp(30px,3vw,40px);line-height:1.16;max-width:18em}
.f-cap-heading p{color:var(--muted);font-size:17px;line-height:1.65;max-width:42em;padding-top:4px}
.f-cap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.f-cap-card{min-width:0;border-top:1px solid var(--line)}
.f-cap-link{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start;height:100%;padding:28px 0;text-decoration:none;color:var(--ink)}
.f-cap-photo{aspect-ratio:4/3;overflow:hidden;background:var(--media)}
.f-cap-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.f-cap-body{min-width:0;display:flex;flex-direction:column;height:100%;align-items:flex-start}
.mnt-f .f-cap-body h3{font-size:clamp(23px,1.8vw,27px);line-height:1.18;letter-spacing:-.02em;overflow-wrap:break-word;transition:color .16s}
.f-cap-body p{margin:12px 0 18px;font-size:16px;line-height:1.6;color:var(--muted)}
.f-cap-more{display:inline-flex;align-items:center;min-height:30px;margin-top:auto}
.f-cap-link:hover h3,.f-cap-link:focus-visible h3{color:var(--blue)}
.mnt-f .f-cap-link:focus-visible{outline:2px solid var(--blue);outline-offset:5px;border-radius:1px}
.f-cap-resources{padding:24px 0;border-block:1px solid var(--line);background:var(--paper)}
.f-cap-resources>.wrap,.f-cap-resources .wrap>div{display:flex;flex-wrap:wrap;gap:8px 32px;align-items:center}
.f-cap-resources>.wrap{justify-content:space-between}
.f-cap-resources p{font-size:15px;color:var(--muted)}
.f-cap-resources svg{flex:none}
.f-cap-enquiry .btn{justify-self:end}
.mnt-f .f-cap-enquiry .btn:focus-visible{outline-color:var(--white)}
.f-cap-enquiry p{max-width:42em}
/* One link per capability row, with the shared hover and keyboard-focus arrow. */
.mnt-f.capabilities-page .f-matrix-row{grid-template-columns:minmax(140px,200px) minmax(0,1fr) 28px;text-decoration:none;color:inherit}
.mnt-f.capabilities-page .f-matrix-arrow{display:flex;align-self:start;color:var(--blue);width:28px;height:28px}
@media(max-width:600px){
  .mnt-f.capabilities-page .f-matrix-row{grid-template-columns:minmax(0,1fr) 28px}
  .mnt-f.capabilities-page .f-matrix-arrow{grid-column:2;grid-row:2}
}
@media print{
  .mnt-f.capabilities-page .f-matrix-row{grid-template-columns:90px minmax(0,1fr)}
  .mnt-f.capabilities-page .f-matrix-arrow{display:none}
}
@media(min-width:1100px){.f-cap-card:nth-last-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:1099px){
  .f-cap-grid{grid-template-columns:minmax(0,1fr)}
  .f-cap-link{grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:32px}
  .f-cap-card:last-child{border-bottom:1px solid var(--line)}
  .f-cap-body{justify-content:center}
  .f-cap-more{margin-top:0}
  .f-cap-heading{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:32px}
  .f-cap-heading p{padding:0;max-width:48em}
}
@media(max-width:700px){
  .f-cap-tools{display:block;margin-top:24px}
  .f-cap-print{margin-top:16px}
  .f-cap-jumps{gap:8px 24px}
  .f-cap-resources>.wrap{display:block}
  .f-cap-resources .wrap>div{margin-top:12px;gap:4px 24px}
  .f-cap-enquiry .btn{justify-self:start}
}
@media(max-width:599px){
  .f-cap-link{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 0 28px}
  .mnt-f .f-cap-body h3{font-size:26px}
  .f-cap-body p{margin-bottom:12px}
  .f-cap-more{min-height:36px}
  .f-cap-heading{margin-bottom:24px}
  .f-cap-jumps{display:grid;justify-items:start}
}
@media(prefers-reduced-motion:reduce){
  .mnt-f .f-cap-body h3{transition:none}
}
html[data-motion=reduced] .mnt-f .f-cap-body h3{transition:none}
@media print{
  .mnt-f.capabilities-page .f-cap-hero>.wrap{padding:5mm 0}
  .f-cap-tools{display:none}
  .f-cap-heading{display:block;margin-bottom:4mm}
  .f-cap-heading p{font-size:10pt;margin-top:2mm}
  .f-cap-grid{display:block}
  .f-cap-card{break-inside:avoid}
  .f-cap-link{display:grid;grid-template-columns:36mm minmax(0,1fr);gap:5mm;padding:4mm 0;break-inside:avoid}
  .f-cap-photo{width:36mm;height:27mm}
  .mnt-f .f-cap-body h3{font-size:13pt}
  .f-cap-body p{font-size:10pt;margin:2mm 0;line-height:1.4}
  .f-cap-more{display:none}
  .f-cap-resources{padding:4mm 0}
  .f-cap-resources a,.f-cap-resources p{font-size:10pt}
}
