:root {
  --ink: #111827;
  --green: #323f62;
  --green-2: #566485;
  --mint: #e8ebf2;
  --cream: #f4f5f8;
  --paper: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --muted: #667085;
  --accent: #6f7b9d;
  --shadow: 0 18px 50px rgba(32, 43, 73, 0.14);
}

body { background: var(--paper); }
.site-header { background: rgba(255,255,255,.94); }
.section-dark { background: #323f62; }
.contact-section { background: #f1f3f7; }
.hero { background: linear-gradient(145deg,#fff 0 58%,#e9ecf3 58% 100%); }
.hero::before { border-color: rgba(50,63,98,.14); }
.eyebrow { color: #4b5879; }
.eyebrow-light { color: #d7dced; }
.section-dark .section-lead { color: #dce1ef; }
.button-primary { background: #323f62; }
.button-primary:hover { background: #26324f; }
.primary-nav a:hover { color: #4b5879; }
.nav-cta { border-color: #323f62; }
.route-card { background: #323f62; }
.route-kicker { color: #d7dced; }
.route-line { background: linear-gradient(#9ca8c7,rgba(156,168,199,.14)); }
.hero-points li::before { color: #6f7b9d; }
.service-number { background: #e8ebf2; color: #323f62; }
.coverage-core { background: #fff; color: #323f62; border: 5px solid #6f7b9d; }
.partner-list span { color: #4b5879; }
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color: #566485; box-shadow: 0 0 0 3px rgba(86,100,133,.12); }
.form-note.is-success { color: #4b5879; }
.site-footer { background: #1f2943; }
.footer-grid p,.footer-brand .brand-copy small { color: #cbd2e3; }

.brand-logo {
  width: 178px;
  height: 76px;
  display: block;
  object-fit: contain;
  filter: url('/assets/navy-logo-filter.svg#navy');
}
.brand-mark {
  width: 178px;
  height: 76px;
  display: block;
  border-radius: 0;
  background: transparent url('/assets/wolff-johnstone-logo.jpg') center / contain no-repeat;
  color: transparent;
  font-size: 0;
  overflow: hidden;
  filter: url('/assets/navy-logo-filter.svg#navy');
}
.brand-copy { display: none; }

.site-header .brand-logo {
  width: 104px;
  height: 58px;
  flex: 0 0 auto;
}
.site-header .brand::after {
  content: "Wolff & Johnstone";
  color: #323f62;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  white-space: nowrap;
}

.footer-brand .brand-logo,
.footer-brand .brand-mark {
  background-color: white;
  filter: url('/assets/navy-logo-filter.svg#navy');
}

.principals-section {
  background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
  border-top: 1px solid rgba(50,63,98,.08);
  border-bottom: 1px solid rgba(50,63,98,.08);
}
.principals-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}
.principals-heading h2 { max-width: 760px; }
.principals-heading > p {
  margin-bottom: 10px;
  color: #667085;
  font-size: 1.03rem;
}
.principal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.principal-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(50,63,98,.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(32,43,73,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.principal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(50,63,98,.24);
  box-shadow: 0 14px 34px rgba(32,43,73,.11);
}
.principal-logo-shell {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 13px;
  background: #f7f8fb;
}
.principal-logo-shell-dark { background: #323f62; }
.principal-logo {
  width: 100%;
  height: 82px;
  object-fit: contain;
  filter: none;
}
.principal-card h3 {
  margin: 0 0 5px;
  color: #1f2943;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.principal-card > p {
  margin: 0;
  color: #7b8498;
  font-size: .74rem;
  line-height: 1.35;
}
.principal-placeholder {
  flex-direction: column;
  gap: 8px;
  color: #323f62;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(111,123,157,.13), transparent 58%),
    #f5f6fa;
  border: 1px dashed rgba(50,63,98,.22);
}
.principal-placeholder > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #323f62;
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.principal-placeholder small {
  color: #778198;
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.principal-source-note {
  margin: 28px 0 0;
  color: #7b8498;
  font-size: .78rem;
}

@media (max-width:1100px) {
  .principal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width:860px) {
  .principals-heading { grid-template-columns: 1fr; gap: 20px; }
  .principal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width:640px) {
  .brand-logo,
  .brand-mark { width: 148px; height: 64px; }
  .site-header .brand-logo { width: 72px; height: 48px; }
  .site-header .brand::after { font-size: .9rem; }
  .principal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .principal-card { padding: 10px; border-radius: 15px; }
  .principal-logo-shell { min-height: 98px; padding: 12px; }
  .principal-logo { height: 68px; }
  .principal-card h3 { font-size: .9rem; }
}

@media (max-width:390px) {
  .principal-grid { grid-template-columns: 1fr; }
}
