:root {
  --max: 1152px;
  --font: "Segoe UI", system-ui, Arial, sans-serif;
}

:focus-visible { outline-color: #477eb4; }
:where(.home-hero, .page-hero, .site-footer, .dark) :focus-visible { outline-color: #b8d1ee; }
.site-header { background: white; color: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; gap: 28px; }
.brand { flex-shrink: 0; }
.brand img { width: 190px; height: auto; }
.nav { gap: clamp(16px, 2.3vw, 30px); }
.nav a, .services-menu summary { color: var(--ink); white-space: nowrap; font-size: .9rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current=page], .services-menu[data-current] > summary, .services-menu summary:hover { color: var(--blue); }
.nav a[aria-current=page]:not(.contact-link) { box-shadow: none; text-decoration: underline; }
.nav .contact-link { padding: 9px 16px; border-color: #879bb3; }
.nav .contact-link:hover, .nav .contact-link[aria-current=page] { background: var(--offwhite); }
.services-menu { position: relative; }
.services-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  cursor: pointer;
}
.services-menu summary::-webkit-details-marker { display: none; }
.services-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.services-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.services-dropdown {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: -17px;
  width: 296px;
  padding: 7px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px #0d20351a;
}
.nav .services-dropdown a { display: block; padding: 10px 11px; white-space: normal; }
.nav .services-dropdown a:hover, .nav .services-dropdown a[aria-current=page] { background: var(--offwhite); }

.home-hero, .page-hero { background: var(--midnight); }
.page-hero { border-bottom: 1px solid #31475e; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 700px; }
.page-hero .eyebrow { margin-bottom: 13px; }
.page-hero .eyebrow a:hover { color: white; }
.home-page .hero-grid { grid-template-columns: 1fr 1fr; padding-block: 68px; gap: clamp(28px, 6vw, 76px); }
.home-page .hero-copy h1 { font-size: clamp(3rem, 5.2vw, 4.3rem); line-height: 1.03; }
.button:hover { background: #1b3d64; border-color: #1b3d64; transform: none; }
.button-outline:hover { background: #233e5a; border-color: #8b9fb5; }
.button-light:hover { color: var(--navy); background: #eaf0f7; border-color: #eaf0f7; }
.home-page .overview .split { align-items: start; gap: 24px 65px; }
.home-page .overview p { max-width: 60ch; }

.industry-details article h2 { font-size: 1.15rem; margin: 0; }
.contact-band { background: #203c59; }
.contact-band h2, .home-page .contact-band h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.3rem); }

.footer-top { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 26px 36px; }
.footer-brand img { display: block; width: 144px; height: auto; }
.footer-links { justify-content: center; padding-top: 5px; }
.footer-reach { display: grid; gap: 9px; font-size: .86rem; }
.social-link { display: inline-flex; width: fit-content; align-items: center; gap: 7px; }
.social-link svg { flex: none; }
.contact-social { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-layout { grid-template-columns: minmax(0, 1.38fr) minmax(245px, .8fr); }
.contact-facts { margin: 0; }
.contact-facts > div + div { margin-top: 15px; }
.contact-facts dd { color: var(--blue); }
.contact-facts dt { margin-bottom: 1px; }
.form-panel h2 { font-size: 1.8rem; margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-bottom: 15px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; margin-bottom: 5px; font-size: .92rem; font-weight: 600; }
.form-grid label span { color: var(--slate); font-weight: 400; }
.form-grid input, .form-grid textarea, .form-grid select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #8594a4;
  border-radius: 3px;
  padding: 8px 10px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: white;
}
.form-grid textarea { resize: vertical; }
.form-grid [aria-invalid=true] { border-color: #a12e35; }
.form-grid .field-error, .form-error { color: #92282f; }
.field-error { display: block; margin-top: 4px; font-size: .87rem; }
.form-error:not([hidden]), .form-unavailable { padding: 10px 12px; background: #f4f6f8; border-left: 3px solid currentColor; font-size: .9rem; }
.form-status { margin-bottom: 12px; color: #1a5748; font-weight: 600; }
.form-status:empty { margin-bottom: 0; }
#contact-verification:not(:empty) { margin-bottom: 12px; }
#contact-form button:disabled { color: #46596b; background: #e3e9ef; border-color: #c5d0dc; cursor: not-allowed; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-content: start; grid-row: 2; grid-column: 1 / -1; }
  .footer-reach { justify-self: end; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 11px; min-height: 69px; }
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 6px 13px;
    border: 1px solid #879bb3;
    background: white;
    color: var(--navy);
  }
  .nav { display: grid; align-items: stretch; width: 100%; gap: 0; padding: 0 0 8px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: grid; }
  .nav > a, .services-menu { border-top: 1px solid var(--line); }
  .nav > a { display: block; padding: 11px 0; }
  .nav .contact-link { margin-top: 4px; width: fit-content; }
  .services-dropdown { position: static; width: auto; margin-bottom: 6px; box-shadow: none; border: 0; border-left: 1px solid var(--line); }
  .nav .services-dropdown a { min-height: 44px; }
}

@media (max-width: 800px) {
  .home-page .hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .home-page .hero-grid { padding-block: 45px; gap: 32px; }
  .contact-panel { max-width: none; }
}

@media (max-width: 600px) {
  .home-page .hero-copy h1 { font-size: clamp(2.65rem, 10vw, 3.5rem); }
  .home-page .hero-grid { padding-block: 35px; }
  .hero-copy .actions { margin-top: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 17px; }
  .footer-reach { justify-self: start; }
  .footer-links { grid-row: auto; gap: 7px 20px; }
  .industry-details article { gap: 7px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .brand img { width: 164px; }
}

/* Editorial layouts use the existing spacing, navigation, form and legal components. */
:root {
  --midnight: #080F1C;
  --navy: #142B45;
  --blue: #214c67;
  --blue-light: #c3d4e6;
  --teal: #397A82;
  --teal-light: #92c2c5;
  --champagne: #C4A87C;
  --ink: #162331;
  --slate: #435261;
  --offwhite: #F7F6F2;
  --line: #deded8;
  --display: Georgia, "Times New Roman", serif;
}

main h1, main h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.04em;
}

main h2 { line-height: 1.14; }
main h3 { letter-spacing: -.012em; }
.site-header { background: #fff; }
.nav .contact-link { border-color: #acb8ba; }
.eyebrow { color: #2b656d; }
.page-hero {
  padding-block: clamp(50px, 5.8vw, 88px);
  border: 0;
  background: repeating-linear-gradient(128deg, transparent 0 56px, #c4a87c10 57px, transparent 58px 90px), var(--midnight);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.45rem); line-height: 1.04; }
.page-hero .lead { color: #cad5e0; }
.page-hero .eyebrow { color: var(--champagne); }

.home-page .hero-grid {
  width: min(100%, 1440px);
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: stretch;
  gap: 0;
  padding-block: 0;
}
.home-page .hero-copy {
  max-width: none;
  align-self: center;
  padding-block: clamp(54px, 6vw, 92px);
  padding-inline: max(32px, calc((min(100vw, 1440px) - var(--max)) / 2)) clamp(20px, 4vw, 52px);
}
.home-page .hero-copy::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 23px;
  background: var(--champagne);
}
.home-page .hero-copy h1 { font-size: clamp(2.05rem, 3.55vw, 3.65rem); line-height: 1.08; text-wrap: initial; }
.hero-copy h1 em { color: #d6bb92; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 47ch; font-size: clamp(.97rem, 1.25vw, 1.12rem); color: #d5dee7; }
.hero-copy .button:not(.button-outline) { background: var(--champagne); color: var(--midnight); border-color: var(--champagne); }
.hero-copy .button:not(.button-outline):hover { background: #e3cba7; border-color: #e3cba7; }
.hero-copy .button-outline { border-color: #79838e; }
.editorial-image { margin: 0; position: relative; overflow: hidden; background: #d9dedf; aspect-ratio: 3 / 2; }
.editorial-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-hero .editorial-image { aspect-ratio: auto; min-height: 100%; background: var(--navy); }
.home-hero .editorial-image img { position: absolute; inset: 0; object-position: 50% center; }
.home-hero .editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080f1c40, transparent 23%);
  pointer-events: none;
}

.home-page .section, .about-refined .section { padding-block: clamp(44px, 5vw, 72px); }
.home-page .company-intro { padding-block: clamp(32px, 4vw, 58px); }
.company-intro h2 { max-width: 21ch; margin: 0; }
.company-intro p { margin: 0; }
.service-overview { background: #fff; border-top: 1px solid var(--line); }
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6.5vw, 90px);
  align-items: center;
}
.editorial-align-start { align-items: start; }
.editorial-split p, .process-layout p, .home-engagements p, .commercial-terms p { color: var(--slate); }
.editorial-copy h2 { max-width: 18ch; }
.flagship-feature .editorial-image::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid #f7f6f275;
  pointer-events: none;
}
.editorial-link { color: var(--blue); display: inline-flex; align-items: baseline; gap: 8px; font-size: .94rem; font-weight: 650; }
.editorial-link span { flex: none; color: #2b656d; }
.editorial-link:hover { color: #2b656d; }
.editorial-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.3vw, 32px); }
.editorial-services article {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.editorial-services .editorial-image { margin-bottom: 16px; aspect-ratio: 16 / 10; }
.editorial-services .editorial-image img { transition: transform .24s ease; }
.editorial-services h3 { font-size: clamp(1.12rem, 1.55vw, 1.3rem); line-height: 1.25; margin-bottom: 8px; text-wrap: wrap; }
.editorial-services h3 a { text-decoration: none; }
.editorial-services h3 a::after { content: ""; position: absolute; inset: 0; }
.editorial-services h3 a:hover { text-decoration: underline; }
.editorial-services article:hover img { transform: scale(1.035); }
.editorial-services p { color: var(--slate); font-size: .94rem; line-height: 1.55; }
.editorial-arrow { color: #2b656d; white-space: nowrap; }
.editorial-services a:focus-visible { outline: none; }
.editorial-services article:has(a:focus-visible) { outline: 2px solid #477eb4; outline-offset: 3px; }

.ruled-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ruled-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.home-industries .ruled-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.home-engagements .engagement-list article { grid-template-columns: 1fr; gap: 4px; padding-block: 14px; }
.home-engagements .engagement-list h3 { font-size: 1.03rem; }
.capability-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 37px clamp(26px, 6vw, 80px); }
.capability-groups h3 { font-size: 1.2rem; color: var(--navy); }
.capability-groups p, .capability-groups li { font-size: 1rem; }
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(28px, 7vw, 105px);
}
.commercial-steps { list-style: none; margin: 0; padding: 0; counter-reset: commercial-step; }
.commercial-steps li {
  counter-increment: commercial-step;
  position: relative;
  min-height: 66px;
  padding: 5px 0 25px 58px;
}
.commercial-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 4px;
  border-left: 1px solid var(--champagne);
}
.commercial-steps li::before {
  content: counter(commercial-step);
  display: grid;
  place-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  color: var(--navy);
  font-size: .87rem;
  font-weight: 650;
}
.commercial-steps li:last-child { padding-bottom: 0; }
.commercial-steps h3 { margin-bottom: 5px; }
.commercial-terms h2 { max-width: 19ch; }
.commercial-conditions { margin-top: 22px; max-width: 76ch; }
.industry-details article { align-items: start; }
.industry-details article h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.contact-band { background: var(--navy); border-top: 1px solid #b89b70; }
.contact-band-inner p { margin-top: 10px; }
.contact-band a:not(.button):hover { color: var(--champagne); }

.site-footer { background: var(--offwhite); color: var(--navy); border-top: 1px solid var(--line); }
.footer-brand { display: inline-block; padding: 0; background: transparent; border-radius: 0; }
.footer-brand img { width: 157px; }
.footer-top p, .footer-bottom { color: var(--slate); }
.footer-links a, .footer-reach a { text-decoration-color: #879b9b; }
.site-footer a:hover, .footer-links a[aria-current=page] { color: var(--blue); }
.site-footer :focus-visible { outline-color: #477eb4; }
.footer-bottom { border-color: var(--line); }
.site-header .nav a, .site-header .nav summary { transition: color .18s, background-color .18s, border-color .18s; }
.nav .contact-link:hover { border-color: var(--teal); }
.actions .button { border-radius: 2px; }

@media (max-width: 1010px) {
  .editorial-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
}

@media (max-width: 900px) {
  .home-page .hero-grid { grid-template-columns: 1fr 1fr; }
  .home-page .hero-copy { padding-inline-start: 28px; }
  .editorial-split { gap: 30px; }
}
@media (max-width: 760px) {
  .home-page .hero-grid, .editorial-split, .process-layout { grid-template-columns: 1fr; }
  .home-page .hero-copy { padding: 45px 20px 37px; }
  .home-page .hero-copy h1 { font-size: clamp(2.15rem, 8.2vw, 3.6rem); }
  .home-hero .editorial-image { min-height: 0; aspect-ratio: 16 / 8; }
  .home-hero .editorial-image img { object-position: center 34%; }
  .editorial-reversed .editorial-image { order: 1; }
  .commercial-terms h2 { margin-bottom: 0; }
  .editorial-split .editorial-image { max-height: 390px; }
}
@media (max-width: 540px) {
  .editorial-services { grid-template-columns: 1fr; }
  .editorial-services .editorial-image { aspect-ratio: 2 / 1; }
}
@media (max-width: 500px) {
  .capability-groups, .home-industries .ruled-list { grid-template-columns: 1fr; }
}
