:root {
  --blue: #1f4a86;
  --blue-dark: #1b3d68;
  --navy: #1d385c;
  --text: #4d4d4d;
  --muted: #767676;
  --rule: #c9b7a1;
  --panel: #f5f5f5;
  --white: #ffffff;
  --max: 1170px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--text);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--blue);
  color: #ffffff;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  min-height: 110px;
  padding-top: 0;
  color: #ffffff;
}

.site-logo {
  display: block;
  width: 220px;
  color: #ffffff;
  flex: 0 0 220px;
}

.site-logo svg,
.site-logo img {
  width: 220px;
  height: auto;
}

.site-header .site-logo img {
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 40px;
  padding-top: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0 13px;
  color: #ffffff;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-link::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 160ms ease;
}

.nav-link:hover::after,
.nav-trigger:hover::after,
.nav-item:focus-within .nav-trigger::after,
.nav-item:hover .nav-trigger::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-panel {
  position: absolute;
  top: 28px;
  left: 0;
  min-width: 245px;
  padding: 12px 0;
  background: rgba(29, 56, 92, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a {
  display: block;
  padding: 10px 17px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
}

.nav-panel a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.socials {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.socials span,
.footer-socials span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: auto;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.header-phone:hover {
  background: #ffffff;
  color: var(--blue);
}

.menu-button {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 40px;
  border: 0;
  border-radius: 5px;
  background: rgba(30, 73, 126, 0.95);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 4px;
  border-radius: 4px;
  background: #ffffff;
}

.menu-button::before {
  top: 10px;
}

.menu-button span {
  top: 18px;
}

.menu-button::after {
  top: 26px;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(27, 61, 104, 0.98);
  color: #ffffff;
  padding: 86px 34px 40px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.mobile-close::before,
.mobile-close::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 4px;
  width: 27px;
  height: 3px;
  background: #ffffff;
}

.mobile-close::before {
  transform: rotate(45deg);
}

.mobile-close::after {
  transform: rotate(-45deg);
}

.mobile-panel a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 752px;
  color: #ffffff;
  background: #153a69;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 62, 101, 0.38), rgba(29, 62, 101, 0.1));
  z-index: 1;
}

.hero img,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 120px));
  margin: 0 auto;
  padding-top: 190px;
}

.hero-box {
  position: relative;
  width: 520px;
  min-height: 400px;
  margin-left: 70px;
  padding: 126px 78px 64px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-box::before {
  content: "";
  position: absolute;
  left: -100px;
  top: 88px;
  width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.95);
}

.hero-box h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-box p {
  margin: 0 0 23px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.42;
}

.blue-button,
.newsletter button,
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.blue-button:hover,
.newsletter button:hover,
.form-button:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.quote-band {
  padding: 58px 28px 68px;
  background: #ffffff;
  text-align: center;
}

.quote-band h2 {
  max-width: 970px;
  margin: 0 auto;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.split-section {
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 60px;
  align-items: center;
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  padding: 88px 0;
}

.split-copy h2,
.panel-copy h2,
.section-title h2,
.contact-title,
.article-copy h2 {
  margin: 0;
  color: #444444;
  font-size: 37px;
  line-height: 1.1;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.split-copy h2 strong,
.panel-copy h2 strong,
.section-title h2 strong,
.contact-title strong,
.article-copy h2 strong {
  display: block;
  color: var(--blue);
  font-weight: 800;
}

.small-rule {
  display: block;
  width: 112px;
  height: 1px;
  margin: 32px 0;
  background: var(--rule);
}

.split-copy p,
.panel-copy p,
.article-copy p,
.article-copy li,
.contact-card p {
  margin: 0 0 18px;
  color: #4d4d4d;
  font-size: 17px;
  line-height: 1.58;
}

.split-image-frame {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--rule);
}

.split-image-frame img {
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 86%;
  height: 78%;
  object-fit: cover;
}

.project-band {
  background: #ffffff;
  padding: 76px 0;
}

.project-panel {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 46px;
  align-items: center;
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
}

.panel-box {
  padding: 58px 70px;
  border: 1px solid var(--rule);
}

.mini-card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.mini-card {
  position: relative;
  height: 142px;
  overflow: hidden;
  background: #193b67;
}

.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 160ms ease, opacity 160ms ease;
}

.mini-card:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.mini-card span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  color: #ffffff;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 36px 0 32px;
}

.diamond {
  display: grid;
  justify-items: center;
  gap: 20px;
  color: var(--blue);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.15;
  text-transform: uppercase;
}

.diamond-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid var(--rule);
  transform: rotate(45deg);
  color: var(--blue);
}

.diamond-icon span {
  transform: rotate(-45deg);
  font-size: 30px;
  line-height: 1;
}

.newsletter {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 68px 24px 76px;
}

.newsletter h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 32px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.newsletter p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #ffffff;
  line-height: 1.55;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(180px, 260px) 120px;
  gap: 8px;
  justify-content: center;
}

.newsletter input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9c9c9;
  background: #ffffff;
  padding: 16px;
  color: #4d4d4d;
}

.site-footer {
  background: #eeeeee;
  color: #444444;
}

.footer-logo {
  display: flex;
  justify-content: center;
  padding: 28px 0 12px;
  color: var(--blue);
}

.footer-logo img,
.footer-logo svg {
  width: 154px;
  height: auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.footer-socials span {
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: var(--blue);
  font-size: 11px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1fr 1fr 1.3fr;
  gap: 34px;
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  padding-bottom: 62px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: #474747;
  font-size: 12px;
  line-height: 1.1;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 6px;
  color: #555555;
  font-size: 12px;
  line-height: 1.35;
}

.footer-map,
.contact-map {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(31, 74, 134, 0.22);
  background: #ffffff;
}

.footer-map {
  height: 132px;
  margin-top: 14px;
}

.contact-map {
  height: 260px;
  margin: 22px 0;
}

.footer-map iframe,
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: #777777;
  font-size: 11px;
}

.page-hero {
  position: relative;
  height: 400px;
  color: #ffffff;
  overflow: hidden;
  background: #183960;
}

.page-hero-title {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  padding-top: 235px;
}

.page-hero-title h1 {
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-hero-title .small-rule {
  width: 72px;
  height: 1px;
  margin: 15px 0 0;
  background: #ffffff;
}

.article-section,
.listing-section,
.contact-section,
.legal-section {
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  padding: 82px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  gap: 70px;
  align-items: start;
}

.article-layout-single {
  display: block;
  max-width: 960px;
  margin: 0 auto;
}

.article-copy {
  min-width: 0;
}

.detail-article .article-copy {
  max-width: none;
}

.document-grid,
.related-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 38px;
}

.document-card,
.related-card {
  min-height: 126px;
  border: 1px solid var(--rule);
  background: #ffffff;
  color: #444444;
}

.document-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 23px 24px;
}

.document-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  font-size: 15px;
}

.document-card p {
  margin: 0;
}

.related-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.related-card strong {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
}

.related-card span {
  color: #646464;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: var(--blue);
}

.related-card:hover strong,
.related-card:hover span {
  color: #ffffff;
}

.article-media-frame {
  min-height: 520px;
  border: 1px solid var(--rule);
}

.article-media-frame img {
  width: calc(100% - 70px);
  height: 420px;
  margin: 64px 0 0 70px;
  object-fit: cover;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.listing-card {
  display: grid;
  min-height: 270px;
  border: 1px solid var(--rule);
  background: #ffffff;
}

.listing-card-image {
  height: 150px;
  overflow: hidden;
  background: #1d385c;
}

.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 160ms ease, opacity 160ms ease;
}

.listing-card:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.listing-card-body {
  padding: 23px 24px 26px;
}

.listing-card h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.listing-card p {
  margin: 0 0 17px;
  color: #4d4d4d;
  font-size: 15px;
  line-height: 1.46;
}

.text-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-title {
  text-align: center;
  color: var(--blue);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 30px;
  margin-top: 58px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form textarea {
  min-height: 142px;
  resize: vertical;
}

.contact-card h2 {
  margin: 0 0 20px;
  color: #444444;
  font-size: 35px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 32px);
    min-height: 78px;
  }

  .desktop-nav,
  .socials,
  .header-phone {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-logo {
    width: 145px;
    flex-basis: 145px;
  }

  .site-logo svg,
  .site-logo img {
    width: 145px;
  }

  .hero {
    min-height: 236px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding-top: 98px;
  }

  .hero-box {
    width: 300px;
    min-height: 100px;
    margin-left: 40px;
    padding: 0;
    border: 0;
  }

  .hero-box::before {
    display: none;
  }

  .hero-box h1 {
    font-size: 19px;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
  }

  .hero-box p {
    max-width: 280px;
    font-size: 7px;
    line-height: 1.35;
    margin-bottom: 7px;
  }

  .hero-box .blue-button {
    min-height: 29px;
    padding: 0 16px;
    font-size: 8px;
  }

  .slide-dots {
    display: none;
  }

  .quote-band {
    padding: 62px 20px 72px;
  }

  .quote-band h2 {
    font-size: 25px;
    line-height: 1.16;
  }

  .split-inner,
  .project-panel,
  .article-section,
  .listing-section,
  .contact-section,
  .legal-section,
  .page-hero-title,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .split-inner,
  .project-panel,
  .article-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-inner,
  .article-section,
  .listing-section,
  .contact-section,
  .legal-section {
    padding: 64px 0;
  }

  .split-image-frame {
    min-height: 320px;
  }

  .split-image-frame img,
  .article-media-frame img {
    position: static;
    width: 100%;
    height: 300px;
    margin: 0;
  }

  .split-image-frame img {
    object-fit: cover;
  }

  .article-media-frame {
    min-height: auto;
  }

  .document-grid,
  .related-card-grid {
    grid-template-columns: 1fr;
  }

  .mini-card-row,
  .icon-row,
  .listing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .panel-box {
    padding: 36px 28px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 400px;
  }

  .page-hero-title {
    padding-top: 240px;
  }

  .page-hero-title h1 {
    font-size: 42px;
  }

  .footer-bottom {
    display: block;
  }
}

@media (max-width: 520px) {
  body,
  main,
  .site-footer {
    max-width: 100vw;
  }

  .hero img {
    object-position: center top;
  }

  .site-header {
    min-height: 72px;
    padding-top: 0;
  }

  .quote-band h2 {
    font-size: 24px;
  }

  .split-copy h2,
  .panel-copy h2,
  .section-title h2,
  .article-copy h2 {
    font-size: 30px;
  }

  .hero-box {
    width: min(300px, calc(100vw - 56px));
    margin-left: 28px;
  }

  .mobile-panel {
    width: 100vw;
    overflow-x: hidden;
  }

  .footer-map,
  .contact-map {
    height: 220px;
  }
}

/* === brand-logo (PNG wordmark) sizing — added by brand playbook === */
.brand-logo {
  height: 38px;
  width: auto;
  max-width: 320px;
  display: block;
}
/* Header logo is white PNG over the dark/transparent hero; drop the SVG whitening
   filter and the fixed 220px width so the PNG renders true and height-driven. */
.site-header .site-logo img.brand-logo {
  width: auto;
  height: 38px;
  filter: none;
}
/* Footer sits on light grey (#eeeeee) -> black PNG, slightly smaller. */
.footer-logo img.brand-logo--footer {
  width: auto;
  height: 34px;
  filter: none;
}
@media (max-width: 1100px) {
  .site-header .site-logo img.brand-logo {
    height: 30px;
  }
}
/* === end brand-logo sizing === */

