:root {
  --navy: #324a6d;
  --ink: #000;
  --paper: #fff;
  --muted: #7a7a7a;
  --btn: #535353;
  --link-blue: #5271ff;
  --drop: #f3f5f8;
  --drop-hover: #f9fafd;
  --line: #d4cece;
  --footer-hover: #c8d5dc;
  --max: 1140px;
  --header-pad: 4%;
  --sans: "DM Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Cardo", "Segoe UI", Georgia, serif;
  --ui: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 8%));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: transparent;
  transition: background-color 0.2s ease;
}

.site-header.is-stuck,
.site-header.is-solid,
body.nav-open .site-header {
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: stretch;
  padding: 0 var(--header-pad);
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  width: 40%;
}

.logo img {
  width: 85%;
  max-width: 280px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 60%;
}

.nav-desktop > ul {
  display: flex;
  align-items: center;
}

.nav-desktop > ul > li {
  margin: 0 15px;
  position: relative;
}

.nav-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1;
  color: var(--ink);
  padding: 5px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-desktop .has-sub:hover > .nav-link {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-desktop .has-sub:hover > .nav-link::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  background: var(--ink);
}

.caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: var(--drop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.nav-desktop .has-sub:hover .sub-menu,
.nav-desktop .has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sub-menu a {
  display: block;
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
  color: #1c244b;
  padding: 12px 18px;
}

.sub-menu a:hover,
.sub-menu a.is-active {
  background: var(--drop-hover);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
}

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #e9eef2;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  filter: blur(0.4px);
}

.slide.is-active .slide-bg {
  animation: kenburns 6s ease-out forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.18);
  }
}

.slide-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 120px;
  max-width: 100%;
}

.slide-copy > div {
  max-width: 900px;
  text-shadow: 0 0 45px #fff;
}

.slide-copy h1,
.page-hero h1,
.page-hero h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
}

.slide-copy h1 {
  font-size: 90px;
  line-height: 1.05;
  margin-bottom: 26px;
}

.slide-copy p {
  font-size: 23px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  color: var(--paper);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}

.slider-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

.split {
  display: flex;
  min-height: 100vh;
}

.split.black {
  background: var(--ink);
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split-copy,
.split-media {
  width: 50%;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 8% 9%;
}

.split-copy.wide {
  width: 60%;
  padding: 8% 9%;
}

.split-media.narrow {
  width: 40%;
}

.split-copy.dark,
.split.black .split-copy {
  background: var(--ink);
  color: var(--paper);
}

.split-copy h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.split-copy.center {
  text-align: center;
  align-items: center;
}

.split-copy p + p {
  margin-top: 1em;
}

.split-media {
  background: center / cover no-repeat;
  min-height: 523px;
}

.split.eor-legal {
  align-items: center;
}

.split.eor-legal .split-media {
  width: 45%;
  align-self: stretch;
  min-height: 100vh;
}

.split.eor-legal .split-copy {
  width: 55%;
  padding: 3% 8%;
  align-self: center;
}

.split.eor-payroll {
  min-height: 90vh;
  align-items: center;
}

.split.eor-payroll .split-copy {
  width: 60%;
  padding: 8% 9%;
}

.split.eor-payroll .payroll-media {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.split.eor-payroll .payroll-media img {
  width: 100%;
  height: auto;
}

.split.eor-benefits {
  min-height: 100vh;
  background: var(--ink);
  align-items: center;
}

.split.eor-benefits .benefits-media {
  width: 45%;
  padding: 1% 5% 1% 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.split.eor-benefits .benefits-media img {
  width: 382px;
  max-width: 100%;
  height: auto;
}

.split.eor-benefits .split-copy {
  width: 50%;
  padding: 0 7% 0 6%;
  background: var(--ink);
  color: var(--paper);
}

.split.eor-convert .split-copy {
  padding: 8% 8% 3%;
}

.split.eor-labor .split-copy {
  padding: 5% 7%;
}

.split.eor-talent .split-copy {
  width: 50%;
  padding: 5% 8% 2%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 0;
  transition: opacity 0.2s ease;
}

.split-copy.center .btn,
.btn-center {
  align-self: center;
}

.btn:hover {
  opacity: 0.85;
}

.btn-solid {
  background: var(--btn);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--link-blue);
}

.invoice {
  display: flex;
  gap: 50px;
  padding: 100px 0 50px;
  align-items: center;
}

.invoice-media {
  width: 55%;
}

.invoice-copy {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 3% 10% 0 0;
}

.invoice-copy h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-top {
  display: flex;
  padding: 5% 4%;
  gap: 0;
}

.footer-brand {
  width: 42%;
  padding-right: 20%;
}

.footer-brand img {
  width: 141px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col.services {
  width: 35%;
}

.footer-col.touch {
  width: 20%;
}

.footer-col h6 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  font-size: 16px;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--footer-hover);
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-bottom {
  background: var(--paper);
  color: var(--ink);
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8%;
  text-align: center;
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 300;
}

.page-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: center / cover no-repeat;
  position: relative;
}

.page-hero h1,
.page-hero h2 {
  font-size: 70px;
  position: relative;
  z-index: 1;
}

.page-hero.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.17);
}

.page-hero.contact-hero h1 {
  text-shadow: 0 0 100px #fff;
}

.hero-sub {
  font-size: 18px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.eor-hero {
  justify-content: center;
  padding-bottom: 18vh;
}

.eor-hero h2 {
  margin: 0;
}

.contact-grid {
  display: flex;
  align-items: flex-end;
  gap: 50px;
  padding: 40px 0;
  width: min(1140px, 100%);
  margin: 0 auto;
}

.contact-form-col,
.contact-info-col {
  width: calc(50% - 25px);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.field {
  margin-bottom: 20px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink);
  opacity: 1;
}

.contact-form textarea {
  min-height: 72px;
  height: 88px;
  resize: vertical;
}

.hp {
  display: none !important;
}

.form-error {
  margin: 0 0 20px;
  color: #b42318;
  font-size: 15px;
}

.turnstile-field {
  margin-bottom: 24px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-form button[type="submit"] {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 15px;
  padding: 10px 40px;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.info-item svg {
  width: 32px;
  height: 32px;
  fill: var(--ink);
  flex: 0 0 32px;
}

.info-item h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--ink);
}

.info-item p,
.info-item a {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}

.info-item a:hover {
  color: var(--ink);
}

.kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.journey {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  min-height: 100vh;
}

.journey-copy {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 8% 11% 10%;
}

.journey-copy h2 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
}

.journey-media {
  width: 40%;
  display: flex;
  align-items: center;
}

.journey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  padding: 50px 0 10px;
}

.support {
  background: var(--ink);
  color: var(--paper);
}

.support .section-title {
  color: var(--paper);
  text-align: center;
  padding: 50px 0 30px;
  font-weight: 400;
}

.setup-grid {
  display: flex;
  gap: 50px;
  padding: 0 0 50px;
}

.setup-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.setup-col.side {
  width: 25%;
}

.setup-col.mid {
  width: 50%;
}

.setup-col h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.setup-col.side h3 {
  padding: 0 10%;
}

.setup-col.mid h3 {
  padding: 0 15%;
}

.setup-col p {
  font-size: 14px;
}

.setup-col img {
  width: 100%;
  margin-top: auto;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 0 20px;
}

.support-grid.second {
  padding: 20px 0 50px;
}

.support-card {
  text-align: center;
}

.support-card img {
  width: 100%;
  margin-bottom: 15px;
}

.support-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--paper);
  text-align: center;
}

.list {
  padding-left: 1.2em;
  list-style: disc;
}

.list li + li {
  margin-top: 0.35em;
}

.eyebrow {
  font-family: var(--ui);
  font-size: 20px;
}

.split-copy.tight {
  width: 50%;
  padding: 3% 8%;
}

.message-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 8% 80px;
  gap: 20px;
}

.message-page h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .header-inner {
    min-height: 85px;
    padding: 0 5%;
  }

  .logo {
    width: 15%;
  }

  .logo img {
    height: 27px;
  }

  .nav-desktop {
    width: 85%;
  }

  .nav-link {
    font-size: 14px;
  }

  .sub-menu a {
    font-size: 14px;
  }

  .footer-top {
    flex-wrap: wrap;
    padding: 8% 5%;
  }

  .footer-brand {
    width: 100%;
    padding-right: 35%;
    margin-bottom: 8%;
  }

  .footer-brand p,
  .footer-col a,
  .footer-col p {
    font-size: 14px;
  }

  .footer-brand img + p,
  .footer-col h6 {
    font-size: 45px;
  }

  .footer-col h6 {
    font-size: 26px;
  }

  .footer-col.services {
    width: 25%;
  }

  .footer-col.touch {
    width: 50%;
    padding-right: 15%;
  }

  .footer-bottom {
    font-size: 14px;
    padding: 10px 5%;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 65px;
    padding: 0 5%;
  }

  .nav-mobile {
    background: var(--drop);
  }

  .logo {
    width: 60%;
  }

  .logo img {
    height: 54px;
    width: auto;
    max-width: 70%;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 40%;
    justify-content: flex-end;
  }

  .nav-mobile {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--drop);
    margin-top: 0;
  }

  .nav-mobile.is-open {
    max-height: 480px;
    margin-top: 15px;
  }

  .nav-mobile a {
    display: block;
    padding: 14px 5%;
    font-family: var(--ui);
    font-size: 16px;
    color: #1c244b;
  }

  .nav-mobile .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
  }

  .nav-mobile .has-sub.is-open .sub-menu {
    display: block;
  }

  .hero-slider,
  .page-hero {
    min-height: 75vh;
    height: 75vh;
  }

  .slide-copy {
    padding: 0 15px;
  }

  .slide-copy h1 {
    font-size: 38px;
    margin-bottom: 16px;
  }

  .slide-copy p {
    font-size: 18px;
  }

  .page-hero h1,
  .page-hero h2 {
    font-size: 38px;
  }

  .eor-hero {
    padding-bottom: 10vh;
  }

  .hero-sub {
    font-size: 16px;
    margin-top: 12px;
    padding: 0 20px;
  }

  .slider-btn {
    display: none;
  }

  .split,
  .split.reverse,
  .journey,
  .contact-grid,
  .invoice,
  .setup-grid {
    flex-direction: column;
  }

  .split.reverse,
  .split.stack-image-last {
    flex-direction: column-reverse;
  }

  .split-copy,
  .split-media,
  .split-copy.wide,
  .split-media.narrow,
  .invoice-media,
  .invoice-copy,
  .contact-form-col,
  .contact-info-col,
  .journey-copy,
  .journey-media,
  .setup-col.side,
  .setup-col.mid,
  .split-copy.tight,
  .split.eor-legal .split-media,
  .split.eor-legal .split-copy,
  .split.eor-payroll .split-copy,
  .split.eor-payroll .payroll-media,
  .split.eor-benefits .benefits-media,
  .split.eor-benefits .split-copy,
  .split.eor-talent .split-copy {
    width: 100%;
  }

  .split.eor-legal,
  .split.eor-payroll,
  .split.eor-convert,
  .split.eor-talent {
    flex-direction: column-reverse;
  }

  .split.eor-legal .split-copy {
    padding: 10% 8%;
  }

  .split.eor-benefits .benefits-media {
    padding: 0;
    justify-content: center;
  }

  .split.eor-benefits .split-copy {
    padding: 8% 9%;
  }

  .split-media {
    min-height: 331px;
  }

  .invoice {
    padding: 25px 0;
  }

  .invoice-copy {
    padding: 3% 10%;
  }

  .contact-hero h1 {
    margin-top: -61px;
  }

  .info-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-grid,
  .support-grid.second {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .footer-top {
    flex-direction: column-reverse;
    padding: 0 5% 8%;
    text-align: center;
    align-items: center;
  }

  .footer-brand,
  .footer-col.services,
  .footer-col.touch {
    width: 100%;
    padding: 0;
  }

  .footer-brand {
    margin-top: 10%;
    text-align: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col.services {
    align-items: center;
    padding-top: 40px;
  }

  .footer-col.touch {
    align-items: center;
    margin-top: 12%;
  }

  .section-title {
    font-size: 32px;
  }

  .journey-copy h2,
  .split-copy h2,
  .invoice-copy h2 {
    font-size: 32px;
  }

  .message-page {
    padding-top: 120px;
  }
}
