:root {
  --navy-950: #06192b;
  --navy-900: #08233b;
  --navy-800: #0d3455;
  --blue-600: #1f6f9f;
  --gold-500: #c3a25c;
  --gold-300: #e5cc8a;
  --ink: #17212f;
  --muted: #5e6a78;
  --line: #d9e0e8;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --steel: #e9eef4;
  --shadow: 0 18px 60px rgba(8, 35, 59, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 232, 0.8);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  color: var(--navy-950);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy-950);
  background: var(--mist);
}

.nav-links .nav-cta {
  margin-left: 8px;
  color: var(--paper);
  background: var(--navy-900);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  color: var(--paper);
  background: var(--navy-800);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy-950);
}

.hero {
  min-height: calc(66vh - 76px);
  display: flex;
  align-items: center;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(6, 25, 43, 0.99) 0%, rgba(6, 25, 43, 0.96) 48%, rgba(6, 25, 43, 0.88) 100%),
    url("assets/northbridge-banner.png");
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 62px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  color: var(--paper);
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
}

.hero-actions,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--navy-950);
  background: var(--gold-500);
}

.button-primary:hover {
  background: var(--gold-300);
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

.button-light {
  color: var(--navy-950);
  background: var(--paper);
}

.intro-band {
  padding: 58px 0;
  background: var(--navy-950);
  color: var(--paper);
}

.intro-band h2,
.cta-section h2 {
  color: var(--paper);
}

.intro-band p,
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 88px 0;
}

.muted-section {
  background: var(--mist);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 64px;
  align-items: center;
}

.lead-stack p {
  font-size: 1.06rem;
}

.section h2,
.page-hero h1,
.content-panel h2,
.service-detail h2,
.industry-card h2,
.value-list h2,
.contact-copy h2 {
  color: var(--navy-950);
  line-height: 1.1;
  letter-spacing: 0;
}

.section h2 {
  font-size: 3.1rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading p {
  font-size: 1.06rem;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.industry-card,
.content-panel,
.service-detail,
.contact-form,
.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-card {
  padding: 30px;
  min-height: 256px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(195, 162, 92, 0.55);
  border-radius: var(--radius);
  background: #fbf7ec;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--navy-800);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.value-grid h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 1.18rem;
  line-height: 1.25;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--navy-900);
}

.image-panel img {
  width: 100%;
  min-height: 270px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #334155;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--gold-500);
  background: var(--paper);
}

.check-list.compact {
  gap: 10px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.value-grid article {
  padding-top: 24px;
  border-top: 3px solid var(--gold-500);
}

.number-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-500);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cta-section {
  padding: 72px 0;
  background:
    linear-gradient(120deg, rgba(6, 25, 43, 0.98), rgba(13, 52, 85, 0.96)),
    var(--navy-900);
}

.cta-inner {
  justify-content: space-between;
}

.cta-inner > div {
  max-width: 760px;
}

.cta-inner h2 {
  margin-bottom: 12px;
  font-size: 2.85rem;
}

.site-footer {
  padding: 54px 0 32px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--paper);
  font-weight: 900;
}

.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

.footer-heading {
  margin-bottom: 15px;
  color: var(--paper);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.9rem;
}

.footer-bottom p,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.disclaimer {
  max-width: 980px;
}

.page-hero {
  padding: 92px 0 78px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(6, 25, 43, 0.98), rgba(8, 35, 59, 0.88)),
    url("assets/northbridge-banner.png");
  background-position: center;
  background-size: cover;
}

.page-hero-inner {
  max-width: 920px;
}

.page-hero h1 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 4.5rem;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.content-panel {
  padding: 36px;
}

.content-panel h2,
.contact-copy h2 {
  font-size: 2.25rem;
}

.accent-panel {
  border-color: rgba(195, 162, 92, 0.55);
  box-shadow: var(--shadow);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-detail {
  padding: 34px;
}

.service-detail h2 {
  font-size: 1.72rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.industry-card {
  min-height: 210px;
  padding: 30px;
}

.industry-card h2 {
  font-size: 1.38rem;
}

.value-list {
  display: grid;
  gap: 26px;
}

.value-list article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.value-list article:first-child {
  border-top: 1px solid var(--line);
}

.value-list h2 {
  margin-bottom: 10px;
  font-size: 2.35rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.contact-note {
  margin-top: 30px;
  padding: 24px;
  border-left: 4px solid var(--gold-500);
}

.contact-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-950);
}

.contact-note p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-form {
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

label {
  color: var(--navy-950);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(195, 162, 92, 0.28);
  border-color: var(--gold-500);
}

textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  color: var(--paper);
  background: var(--navy-900);
}

.form-button:hover {
  background: var(--navy-800);
}

.form-disclaimer {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cta {
    width: 100%;
    margin-left: 0;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .reverse-on-mobile .image-panel {
    order: 2;
  }

  .card-grid-3,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.8rem;
  }

  .section h2 {
    font-size: 2.6rem;
  }

  .cta-inner h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 760px) {
  .container,
  .hero-inner,
  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .hero {
    min-height: calc(66vh - 76px);
    background-position: center right;
  }

  .hero-inner {
    padding: 54px 0 58px;
  }

  .section {
    padding: 66px 0;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-copy,
  .page-hero p,
  .section-heading p,
  .lead-stack p {
    font-size: 1rem;
  }

  .page-hero h1 {
    font-size: 2.9rem;
  }

  .section h2 {
    font-size: 2.2rem;
  }

  .content-panel h2,
  .contact-copy h2,
  .value-list h2 {
    font-size: 1.75rem;
  }

  .intro-band,
  .cta-section {
    padding: 54px 0;
  }

  .card-grid-3,
  .value-grid,
  .two-column,
  .service-detail-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .value-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-card,
  .content-panel,
  .service-detail,
  .industry-card,
  .contact-form {
    padding: 26px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-actions .button,
  .cta-inner .button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .brand-name {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .page-hero {
    padding: 76px 0 62px;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }
}
