:root {
  --ink: #1e293b;
  --ink-dark: #0f172a;
  --muted: #64748b;
  --soft: #f1f5f9;
  --soft-2: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --red: #ef4444;
  --blue: #2563eb;
  --green: #15803d;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --header-height: 88px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, 1500px);
  margin-inline: auto;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.header-logo {
  display: block;
  width: 42px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink-dark);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink-dark);
}

.hero {
  padding: 84px 0 54px;
  background: linear-gradient(180deg, var(--soft) 0%, #eef2f7 100%);
}

.hero-copy {
  margin-bottom: 44px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 1180px;
  color: var(--ink-dark);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 850px;
  margin-top: 28px;
  padding-left: 22px;
  border-left: 4px solid #cbd5e1;
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-style: italic;
}

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

.division-card {
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.division-card--red:hover { border-color: var(--red); }
.division-card--blue:hover { border-color: var(--blue); }
.division-card--green:hover { border-color: var(--green); }

.division-logo-wrap {
  min-height: 112px;
  display: grid;
  place-items: center;
}

.division-logo-wrap img {
  width: min(100%, 330px);
  max-height: 92px;
  object-fit: contain;
}

.division-card h2 {
  margin-bottom: 8px;
  color: var(--ink-dark);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.division-card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.about,
.contact {
  padding: 96px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.section-title {
  color: var(--ink-dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.title-rule {
  width: 64px;
  height: 3px;
  margin: 18px 0 28px;
  background: var(--ink);
}

.section-copy > p:not(.eyebrow) {
  margin-bottom: 22px;
  color: #334155;
  font-size: 0.98rem;
}

.section-copy blockquote {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid #334155;
  border-radius: 0 10px 10px 0;
  background: var(--soft-2);
  color: #334155;
  font-weight: 700;
  font-style: italic;
}

.about .feature-image {
  width: min(100%, 520px);
  justify-self: center;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.20);
  object-fit: cover;
}

.awards {
  padding: 60px 0;
  background: #f8fafc;
}

.awards-grid {
  width: min(100% - 40px, 1810px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.award-card {
  min-height: 120px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.award-card:hover,
a.award-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.award-card strong {
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 800;
  line-height: 1.1;
}

.award-card span {
  color: #64748b;
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.award-card--esop { border-color: #cfe1ff; }
.award-card--esop strong { color: #2959d6; }

.award-card--inc { border-color: #ffd2d2; }
.award-card--inc strong { color: #ef2a2a; }

.award-card--ft { border-color: #ffe1b9; }
.award-card--ft strong { color: #ff6f61; }

.award-card--forbes { border-color: #dce3ec; }
.award-card--forbes strong { color: #161d2d; }

.split-layout--contact {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.feature-image--team {
  width: 100%;
}

.feature-image--team img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 350ms ease;
}

.feature-image--team img:hover {
  filter: grayscale(0%);
}

.contact-panel {
  align-self: center;
}

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
}

.contact-list dt {
  padding-top: 2px;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-list dd {
  color: var(--ink-dark);
  font-weight: 600;
}

.phone-link,
.footer-phone {
  font-weight: 800;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  padding: 74px 0 30px;
  background: var(--ink-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 54px;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid p,
.footer-grid a {
  color: #94a3b8;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .division-grid,
  .split-layout,
  .split-layout--contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Center section content on iPad and smaller screens. */
  .hero-copy,
  .section-copy,
  .contact-panel,
  .footer-grid > div {
    text-align: center;
  }

  .hero h1,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    padding-left: 0;
    border-left: 0;
  }

  .title-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .section-copy blockquote {
    text-align: center;
    border-left: 0;
    border-radius: 10px;
  }

  .contact-list {
    width: 100%;
    justify-items: center;
  }

  .contact-list > div {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
  }

  .contact-list dt,
  .contact-list dd {
    width: 100%;
    text-align: center;
  }

  .contact-list dd a {
    display: inline-block;
    text-align: center;
  }

  .division-card {
    min-height: 260px;
  }

  .feature-image {
    order: -1;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1500px);
  }

  .header-logo {
    width: 36px;
    height: 44px;
  }

  .brand {
    gap: 12px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }

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

  .site-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .about,
  .contact {
    padding: 72px 0;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .feature-image--team img {
    height: auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
