:root {
  --bg: #ffffff;
  --text: #161616;
  --muted-text: #525252;
  --surface: #f4f4f4;
  --surface-hover: #e8e8e8;
  --border: #c6c6c6;
  --blue: #0f62fe;
  --blue-dark: #0043ce;
  --dark: #161616;
  --dark-surface: #262626;
  --dark-text: #f4f4f4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; }
p { color: var(--muted-text); font-size: 1.05rem; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  background: var(--blue);
  color: white;
  padding: 12px 16px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.muted { background: var(--surface); }
.dark { background: var(--dark); color: var(--dark-text); }
.dark p, .dark .eyebrow { color: #c6c6c6; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dark);
  color: white;
  border-bottom: 1px solid #393939;
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand-logo {
  display: block;
  width: 280px;
  height: auto;
}
.footer-logo {
  display: block;
  width: 300px;
  height: auto;
  filter: brightness(0) invert(1);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: white;
  font-weight: 600;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  color: #c6c6c6;
  text-decoration: none;
  padding: 20px 14px;
  font-size: .95rem;
}
.primary-nav a:hover, .primary-nav a:focus { color: white; background: #262626; }
.primary-nav .nav-cta {
  background: var(--blue);
  color: white;
  margin-left: 8px;
  padding-inline: 18px;
}
.primary-nav .nav-cta:hover { background: var(--blue-dark); }
.nav-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid #6f6f6f;
  padding: 10px 12px;
}

.hero { padding: 112px 0; }
.hero-grid, .split, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
}
h1, h2, h3 { color: inherit; margin-top: 0; line-height: 1.12; }
h1 { font-size: clamp(2.55rem, 7vw, 5.1rem); font-weight: 300; letter-spacing: -0.04em; max-width: 980px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 600; }
.hero-copy { max-width: 720px; font-size: clamp(1.15rem, 2vw, 1.35rem); color: #393939; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { border-color: var(--text); color: var(--text); }
.button.secondary:hover { background: var(--surface); }

.executive-panel {
  background: var(--surface);
  padding: 32px;
  border-left: 4px solid var(--blue);
}
.executive-panel h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: 0; }
.executive-panel ul { margin: 24px 0 0; padding: 0; list-style: none; }
.executive-panel li { padding: 14px 0; border-top: 1px solid var(--border); font-size: 1.05rem; }
.hero-image-card {
  position: relative;
  background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 56%, #edf5ff 100%);
  border-left: 4px solid var(--blue);
  padding: 16px;
  box-shadow: 0 22px 50px rgba(22, 22, 22, .14);
  overflow: hidden;
}
.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(15, 98, 254, .16), transparent 32%),
              linear-gradient(90deg, transparent, rgba(15, 98, 254, .06));
  pointer-events: none;
}
.hero-image-card img,
.image-strip img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.hero-image-card img { transition: transform .35s ease; }
.hero-image-card:hover img { transform: translateY(-4px); }
.image-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.image-strip figure {
  margin: 0;
  background: #262626;
  border: 1px solid #393939;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.image-strip figure:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .28);
}
.image-strip figcaption {
  padding: 18px 20px;
  color: #f4f4f4;
  font-weight: 600;
  border-top: 1px solid #393939;
}

.section-heading { max-width: 760px; margin-bottom: 40px; }
.card-grid { display: grid; gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  padding: 28px;
  min-height: 210px;
  border: 1px solid transparent;
}
.muted .card { background: white; }
.card:hover { background: var(--surface-hover); }
.card p { font-size: 1rem; }
.large-card { min-height: 280px; }
.large-card h2 { font-size: 1.7rem; font-weight: 400; letter-spacing: -0.02em; }

.stacked-list { display: grid; gap: 20px; }
.stacked-list > div {
  border-top: 1px solid #525252;
  padding-top: 20px;
}
.stacked-list.light > div { border-color: var(--border); }

.process .section-heading { margin-bottom: 32px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--border);
}
.steps li {
  background: white;
  padding: 28px;
  min-height: 260px;
}
.steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: white;
  margin-bottom: 24px;
}
.steps strong { display: block; font-size: 1.2rem; margin-bottom: 12px; }

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero p:last-child { font-size: 1.25rem; }
.clean-list { padding-left: 18px; color: var(--muted-text); }
.clean-list li { margin-bottom: 8px; }
.note { font-size: .95rem; background: #edf5ff; padding: 16px; color: #002d9c; }
.cta-section { border-top: 1px solid var(--border); }

.site-footer {
  background: var(--dark);
  color: white;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 48px;
}
.footer-grid p, .footer-grid a { color: #c6c6c6; }
.footer-grid a { display: block; text-decoration: none; margin: 8px 0; }
.footer-grid a:hover { color: white; }
.footer-grid h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.footer-brand { color: white !important; margin-bottom: 16px !important; }
.footer-bottom { border-top: 1px solid #393939; margin-top: 40px; padding-top: 20px; }
.footer-bottom p { font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-image-card img,
  .image-strip figure {
    transition: none;
  }
  .hero-image-card:hover img,
  .image-strip figure:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .brand-logo { width: 230px; }
  .footer-logo { width: 260px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 8px 16px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a, .primary-nav .nav-cta { margin: 0; padding: 16px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid.two, .card-grid.three, .card-grid.four, .steps, .footer-grid, .image-strip { grid-template-columns: 1fr; }
  .section, .hero { padding: 56px 0; }
}
