/* MX Blue — mxblue.com
   Static rebuild, September 2026. Plain CSS, no framework.
   Fonts are self-hosted in /fonts (SIL Open Font Licence, see fonts/LICENSE-*.txt). */

@font-face { font-family: "Nunito Sans"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("fonts/source-serif-4-latin-300-normal.woff2") format("woff2"); }

:root {
  --navy: #002e5d;        /* header, footer, dark panels */
  --green: #59b17a;       /* buttons */
  --ink: #252525;         /* body text on light */
  --grey: #a0a09f;        /* muted text (copyright line) */
  --nav: #9e9e9e;         /* menu text at rest */
  --panel: #e3e3e3;       /* light grey section */
  --tint: rgba(237,237,237,.8);
  --white: #fff;
  --body: "Nunito Sans", Avenir, "Helvetica Neue", Arial, sans-serif;
  --heavy: "Nunito Sans", Avenir, "Helvetica Neue", Arial, sans-serif;
  --caps: "Montserrat", "Nunito Sans", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --w: 980px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink);
  font: 300 16px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; font-family: var(--heavy); line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; }

/* ---------- type roles (mirroring the original theme) ---------- */
.t-hero  { font-size: 40px; line-height: 1.3; text-transform: uppercase; }                       /* Avenir Heavy 40 */
.t-h30   { font-size: 30px; }                                          /* Avenir Heavy 30 */
.t-h26   { font-size: 26px; }                                          /* Avenir Heavy 26 */
.t-caps  { font-family: var(--caps); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; } /* Lulo Clean */
.t-caps-sm { font-family: var(--caps); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.t-caps-xs { font-family: var(--caps); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.t-lead  { font-size: 20px; line-height: 1.5; }
.t-18    { font-size: 18px; }
.t-15    { font-size: 15px; }
.t-grey  { color: var(--grey); }
.t-white { color: var(--white); }
.center  { text-align: center; }
.justify { text-align: justify; }

/* ---------- header ---------- */
.site-header { background: var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }
.logo { flex: 0 0 auto; }
.logo img { width: 141px; height: auto; }
.nav-toggle { display: none; }
.nav-btn { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav a { display: block; padding: 8px 12px; font-family: var(--serif); font-weight: 300; font-size: 18px;
  color: var(--nav); text-decoration: none; letter-spacing: .01em; transition: color .3s ease; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--white); text-align: center; padding: 40px 20px 30px; }
.site-footer p { margin: 0; font-size: 18px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .social { margin: 18px auto 14px; }
.site-footer .copy { font-size: 15px; color: var(--grey); }
.social { display: inline-flex; align-items: center; justify-content: center; }
.social a { display: inline-flex; width: 39px; height: 39px; align-items: center; justify-content: center;
  background: var(--white); border-radius: 50%; color: var(--navy); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.to-top { display: inline-block; margin-top: 14px; color: var(--green); text-decoration: none; font-size: 22px; line-height: 1; }
.to-top:hover { color: var(--white); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--green);
  color: var(--navy); font: 800 14px/1 var(--body); text-decoration: none; border: 1px solid var(--green);
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn::after { content: ""; width: 12px; height: 8px; background: currentColor;
  clip-path: polygon(0 35%, 60% 35%, 60% 0, 100% 50%, 60% 100%, 60% 65%, 0 65%); }
.btn:hover, .btn:focus-visible { background: var(--white); color: var(--navy); border-color: var(--white); }

/* text link with circled arrow (Meet our team) */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-size: 17px; }
.link-arrow::after { content: "\2192"; display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 50%; font-size: 14px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- generic blocks ---------- */
.section { padding: 60px 20px; }
.section-navy { background: var(--navy); color: var(--white); }
.section-grey { background: var(--panel); }
.hero { position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); background-size: cover; background-position: center; min-height: 520px; padding: 80px 20px; }
.hero.tall { min-height: 680px; align-items: flex-end; padding-bottom: 60px; }
.hero.dim::before { content: ""; position: absolute; inset: 0; background: rgba(37,37,37,.4); }
.hero > * { position: relative; }
.hero h1 { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero .wrap { max-width: 940px; }

/* image + text two-column strip */
.split { display: grid; grid-template-columns: 1fr 1fr; width: calc(100% - 160px); max-width: 1120px; margin: 0 auto; min-height: 520px; }
.split + .split { margin-top: 30px; }
.split.first { margin-top: 30px; }
.split.last { margin-bottom: 30px; }
.split .pic { background-size: cover; background-position: center; min-height: 280px; }
.split .txt { padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.split .txt h2 { font-size: 40px; text-transform: uppercase; }
.split .txt.navy { background: var(--navy); color: var(--white); }
.split .txt .btn { align-self: flex-start; }

/* three image cards on the home page */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.card::before { content: ""; position: absolute; inset: 0; background: rgba(37,37,37,.45); }
.card > * { position: relative; }
.card { position: relative; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 30px 20px; text-align: center; color: var(--white); background: var(--ink) center/cover no-repeat; }
.card h2 { font-size: 30px; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* two-column text grid (Our approach) */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; max-width: var(--w); margin: 0 auto; }
.grid-2 h3 { font-size: 30px; margin-bottom: 10px; text-transform: uppercase; }
.grid-2 p { font-size: 15px; }

/* three-up grids (strategy) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--w); margin: 0 auto; }
.grid-3 .pic { aspect-ratio: 4 / 3; background: center/cover no-repeat; }
.pillar { background: var(--navy); color: var(--white); text-align: center; padding: 30px 24px 34px;
  display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pillar h3 { font-size: 30px; text-transform: uppercase; }
.pillar .btn { margin-top: auto; }
.pillar p { font-size: 15px; }

/* captioned gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--w); margin: 0 auto; }
.gallery figure { margin: 0; background: var(--white); color: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 310 / 282; object-fit: cover; }
.gallery figcaption { padding: 16px 18px 22px; font-size: 20px; line-height: 1.4; }

/* tiles with heading + paragraph on the light skyline band */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--w); margin: 0 auto; }
.tile { color: var(--ink); background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)), url("images/band-blue.jpg") center/cover no-repeat; padding: 28px 24px 32px; }
.tile h3 { font-size: 26px; margin-bottom: 14px; }
.tile p { font-size: 18px; line-height: 1.45; }
.tiles.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tiles.two .tile p { font-size: 18px; }

/* team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); gap: 40px; justify-content: center; max-width: var(--w); margin: 40px auto 0; text-align: left; }
.member { background: #ededed; padding: 30px 30px 34px; }
.member img { width: 100%; aspect-ratio: 403 / 334; object-fit: cover; object-position: top; margin-bottom: 22px; background: #fff; }
.member .role { margin: 0; font-size: 16px; }
.member .name { margin: 6px 0 14px; }
.member p { font-size: 16px; }
.member .social { margin-top: 14px; }
.member .social a { width: 25px; height: 25px; background: var(--navy); color: var(--white); }
.member .social svg { width: 14px; height: 14px; }

/* tinted text boxes (ESG, Contact) */
.box { background: var(--tint); padding: 50px 60px; max-width: var(--w); margin: 0 auto; }
.image-strip { background: center/cover no-repeat; min-height: 300px; }
.list-clean { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.list-clean li { padding: 12px 0 12px 28px; border-top: 1px solid rgba(0,46,93,.15); position: relative; }
.list-clean li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; background: var(--green); border-radius: 50%; }

/* portfolio logos */
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.logos figure { margin: 0; text-align: center; }
.logos a { display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 30px; }
.logos figcaption { font-size: 15px; color: var(--grey); margin-top: 4px; }
.logos .exited { display: inline-block; padding: 4px 12px; border: 1px solid var(--grey); border-radius: 999px; }
.logos img { max-width: 460px; max-height: 380px; width: auto; }

/* address strip (Contact) */
.address dl { margin: 0; }
.address dt { margin-top: 18px; }
.address dd { margin: 4px 0 0; font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .cards, .grid-2, .grid-3, .gallery, .tiles, .tiles.two, .team, .team.three, .logos { grid-template-columns: 1fr; }
  .split { width: calc(100% - 40px); min-height: 0; }
  .split .pic { order: -1; }
  .split .txt { padding: 40px 28px; }
  .gallery, .tiles, .tiles.two { grid-template-columns: repeat(2, 1fr); }
  .team { max-width: 520px; }
  .box { padding: 36px 24px; }
  .t-hero, .split .txt h2 { font-size: 32px; }
}
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-btn { display: block; margin-left: auto; cursor: pointer; color: var(--white); font-family: var(--serif); font-size: 18px;
    padding: 8px 4px; user-select: none; }
  .nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; padding-bottom: 8px; }
  .nav a { padding: 10px 4px; }
  .gallery, .tiles, .tiles.two { grid-template-columns: 1fr; }
  .hero { min-height: 380px; padding: 60px 20px; }
  .t-hero, .split .txt h2 { font-size: 28px; }
  .t-h30, .grid-2 h3, .pillar h3 { font-size: 26px; }
  .section { padding: 44px 20px; }
  .logos a { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
