/* Home page redesign: shares the navy/blue language of the service pages. */
body.home {
  --blue: #1d5bd8;
  --navy: #132237;
  --lblue: #8fb0f3;
  --ink: #16202e;
  --body: #5b6676;
  --muted: #8892a0;
  --paper: #f4f6fa;
  --line: #dfe4ec;
}
body.home main,
body.home .info-dialog {
  --blue: #1d5bd8;
  --ink: #16202e;
  --body: #5b6676;
  --muted: #8892a0;
  --paper: #f4f6fa;
  --line: #dfe4ec;
}
body.home main :is(button, a):focus-visible {
  outline-color: #ffb224;
}
body.home main .button-primary:hover {
  background: #174bb5;
}
body.home .contact {
  --blue: #333333;
  --ink: #222222;
  --body: #606060;
}

/* reveal */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
[data-reveal] {
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* shared section heading: title left, lead right */
body.home .section-heading {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  column-gap: 48px;
  row-gap: 14px;
  align-items: end;
}
body.home .section-heading > .eyebrow {
  grid-column: 1 / -1;
}
body.home .section-heading h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
body.home .section-heading .section-detail-link {
  grid-column: 1;
  margin-top: 6px;
}
body.home .section-detail-link {
  display: inline-flex;
  justify-self: start;
  align-self: flex-start;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-weight: 500;
  color: var(--blue);
}
body.home .eyebrow {
  font: 700 12px/1 var(--latin);
  letter-spacing: 0.14em;
  color: var(--blue);
}

/* ───────── hero ───────── */
body.home .hero {
  background: var(--navy);
  overflow: hidden;
}
body.home .hero::after {
  background:
    linear-gradient(90deg, #132237 14%, #132237cc 46%, #13223740 100%),
    linear-gradient(0deg, #132237 0, transparent 30%);
}
body.home .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -24%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, #1d5bd866, transparent);
  pointer-events: none;
}
body.home .hero-body {
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
body.home .hero-body .eyebrow {
  color: var(--lblue);
}
body.home .hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.26;
}
body.home .hero h1 em {
  font-style: normal;
  color: var(--lblue);
}
body.home .hero-description {
  color: #c9d3e2;
  max-width: 470px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-pills li {
  padding: 7px 14px;
  border: 1px solid #ffffff59;
  border-radius: 30px;
  font-size: 13px;
  color: #fff;
  transition: 0.2s;
}
.hero-pills li:hover {
  border-color: var(--lblue);
  color: var(--lblue);
  transform: translateY(-3px);
}
/* stats: light-glass strip */
body.home .stats {
  background: #0e1a2cbf;
  border-top-color: #ffffff1f;
}
body.home .stats-inner {
  padding-block: 32px;
}
body.home .stats dt {
  font: 500 12px var(--font);
  letter-spacing: 0.04em;
}
body.home .stats dd,
body.home .stats .stat-highlight {
  font: 500 40px/1.2 var(--latin);
  letter-spacing: -0.03em;
}
body.home .stats dd > span:last-child {
  font: 400 18px var(--font);
  color: var(--lblue);
  margin-left: 4px;
}
body.home .stat-value {
  text-align: left;
}
body.home .stats[data-counting="running"] .stat-highlight {
  color: var(--lblue);
}

/* ───────── business bento ───────── */
body.home .business {
  background: #fff;
}
body.home .business-inner {
  min-height: 0;
  padding-block: 110px 96px;
  justify-content: flex-start;
  gap: 48px;
}
.business-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 300px);
  gap: 16px;
}
.business-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
  transition:
    opacity 0.8s var(--ease),
    transform 0.5s var(--ease),
    box-shadow 0.4s;
}
.business-card.is-big {
  grid-column: span 2;
  grid-row: span 2;
}
.business-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.business-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #0f1c2dee 8%, #0f1c2d80 48%, #0f1c2d1a);
  transition: background 0.4s;
}
.business-card:is(:hover, :focus-visible) {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -26px #132237cc;
}
.business-card:is(:hover, :focus-visible) > img {
  transform: scale(1.06);
}
.business-card:is(:hover, :focus-visible)::after {
  background: linear-gradient(0deg, #0f3a96f2 6%, #0f1c2dc4 62%, #0f1c2d4d);
}
.bc-no {
  position: absolute;
  top: 22px;
  left: 24px;
  font: 400 13px var(--latin);
  letter-spacing: 0.12em;
  color: #ffffffd9;
}
.bc-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ffffff59;
  background: #ffffff1a;
  backdrop-filter: blur(8px);
  font-size: 17px;
  transition: 0.3s;
}
.business-card:is(:hover, :focus-visible) .bc-arrow {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
  transform: rotate(45deg);
}
.bc-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  width: 100%;
}
.bc-body small {
  font: 700 10px var(--latin);
  letter-spacing: 0.16em;
  color: var(--lblue);
}
.bc-body strong {
  font-size: 22px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.is-big .bc-body strong {
  font-size: 32px;
}
.bc-target {
  font-size: 12px;
  color: #c9d3e2;
}
.bc-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #e3e9f3;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease),
    opacity 0.4s;
}
.business-card:is(:hover, :focus-visible) .bc-desc,
.business-card.is-big .bc-desc {
  max-height: 120px;
  opacity: 1;
}
.bc-body ul {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #ffffff33;
}
.bc-body li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #dbe4f2;
}
.bc-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lblue);
}

/* additional services: dark rail */
body.home .business-support {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  padding: 8px 0;
  border-radius: 20px;
  background: var(--navy);
}
body.home .business-support a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 28px 32px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  transition: background 0.3s;
}
body.home .business-support a + a {
  border-left: 1px solid #ffffff24;
}
body.home .business-support a:hover {
  background: #ffffff0d;
}
body.home .business-support .support-category {
  color: var(--lblue);
}
body.home .business-support strong {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.03em;
}
body.home .business-support a > span:not(.support-category):not(.support-more) {
  color: #aab6c8;
  font-size: 14px;
}
body.home .business-support .support-more {
  margin-top: auto;
  padding-top: 14px;
  color: #fff;
}

/* ───────── strength ───────── */
body.home .strength {
  background: #fff;
}
body.home .section-inner {
  min-height: 0;
  padding-block: 110px;
}
body.home .section-inner > .section-heading {
  margin-bottom: 52px;
}
body.home .strength-card {
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px #13223708;
}
body.home .strength-card:hover {
  border-color: var(--blue);
}
body.home .strength-card-body {
  color: var(--body);
}
body.home .strength-card.is-active {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 24px 40px -24px #132237cc;
}
body.home .strength-card.is-active .strength-card-title {
  color: #fff;
}
body.home .strength-card-foot {
  color: var(--blue);
  border-color: var(--line);
}
body.home .strength-card.is-active .strength-card-foot {
  color: var(--lblue);
  border-color: #ffffff24;
}

/* ───────── process: dark ───────── */
body.home .process {
  background: var(--navy);
  color: #fff;
}
body.home .process::before {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -35%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, #1d5bd84d, transparent);
  pointer-events: none;
}
body.home .process .eyebrow {
  color: var(--lblue);
}
body.home .process-road {
  background: #ffffff2e;
}
body.home .route-stop {
  background: #5d7392;
}
body.home .route-stop.is-passed {
  background: #ffb224;
  box-shadow: 0 0 6px #ffb22444;
}
body.home .step-number {
  color: #5d7392;
}
body.home .process-step-title {
  color: #fff;
  font-weight: 500;
}
body.home .process-step-description {
  color: #aab6c8;
}
body.home .process-step.is-arrived .step-number {
  color: var(--lblue);
}
body.home .process-detail {
  background: #ffffff0f;
  border-color: #ffffff2b;
  backdrop-filter: blur(14px);
  border-radius: 22px;
}
body.home .process-detail-number {
  color: var(--lblue);
}
body.home .process-stage-label {
  color: var(--lblue);
}
body.home .process-detail h3 {
  color: #fff;
}
body.home .process-detail-copy > p:not(.process-stage-label) {
  color: #c9d3e2;
}
body.home .process-tags span {
  background: transparent;
  border-color: #ffffff40;
  color: #dbe4f2;
}
body.home .process-pause {
  color: #aab6c8;
}

/* ───────── network ───────── */
body.home .network .eyebrow {
  color: var(--lblue);
}
body.home .network .section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.home .network .section-detail-link {
  color: #fff;
}
body.home .network-shade {
  background:
    linear-gradient(180deg, #132237d9 0%, #13223700 38%),
    linear-gradient(180deg, #13223700 38%, #132237 100%);
}
body.home .network-caption h3 {
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* ───────── clients ───────── */
body.home .clients {
  background: #fff;
  padding-block: 44px 40px;
}
body.home .clients h2 {
  font: 700 12px var(--latin);
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
}
body.home .partner-logo {
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* ───────── recruit ───────── */
body.home .recruit {
  background: #fff;
}
body.home .recruit-inner {
  min-height: 0;
  padding-block: 110px;
}
body.home .recruit-heading {
  display: block;
}
body.home .recruit-visual {
  border-radius: 22px;
}
body.home .recruit-visual::after {
  background: linear-gradient(180deg, transparent 35%, #132237e6);
}
body.home .recruit-job-cards :is(button, a) {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
}
body.home .recruit-job-cards :is(button, a):is(:hover, :focus-visible) {
  border-color: var(--blue);
  transform: translateX(6px);
  box-shadow: 0 18px 34px -22px #1d5bd88c;
}
body.home .job-arrow {
  border-color: var(--line);
}

/* ───────── responsive ───────── */
@media (max-width: 1000px) {
  .business-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 280px;
  }
  .business-card.is-big {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 340px;
  }
  body.home .business-support {
    grid-template-columns: 1fr;
  }
  body.home .business-support a + a {
    border-left: 0;
    border-top: 1px solid #ffffff24;
  }
  body.home .section-heading {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  body.home .hero-body {
    padding-block: 48px 40px;
  }
  .business-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
  .business-card.is-big {
    grid-column: auto;
    min-height: 440px;
  }
  .is-big .bc-body strong {
    font-size: 26px;
  }
  body.home .stats dd,
  body.home .stats .stat-highlight {
    font-size: 30px;
    white-space: nowrap;
  }
  .bc-desc {
    max-height: 120px;
    opacity: 1;
  }
  body.home .business-inner,
  body.home .section-inner,
  body.home .recruit-inner {
    padding-block: 72px;
  }
}
@media (hover: none) {
  .bc-desc {
    max-height: 120px;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .business-card,
  .business-card > img {
    transition: none;
  }
}
