/* Company-led homepage: shared service chapters and a clear delivery process. */
.company-home #main > .hero {
  padding-block: 36px;
  row-gap: 24px;
}

.company-home .hero h1 {
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 1.03;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.company-home .hero-lead {
  max-width: 560px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.5px;
  margin-bottom: 14px;
  text-wrap: pretty;
}

.company-home .hero-description {
  max-width: 555px;
  font-size: 16px;
  line-height: 1.65;
}

.company-home .hero-actions { margin-top: 26px; }

.company-home .service-overview {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 24px;
  scroll-margin-top: 16px;
}

.company-home .anchor-alias {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.company-home .service-overview-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
}

.company-home #main .service-overview h2 {
  align-self: center;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.3px;
}

.company-home .service-overview > p,
.company-home .service-overview-heading > p {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.company-home .service-jump-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.company-home .service-jump {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 5px 20px #153e1c07;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.company-home .service-jump-number {
  color: var(--green-ink);
  font: 600 11px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .7px;
}

.company-home .service-jump strong {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.2px;
}

.company-home .service-jump > .icon {
  width: 18px;
  height: 18px;
  color: var(--green-ink);
  transition: transform .25s;
}

.company-home .service-jump:hover {
  border-color: #47ac4666;
  box-shadow: 0 8px 24px #1e712214;
  transform: translateY(-2px);
}

.company-home .service-jump:hover > .icon { transform: translateX(3px); }

/* All four offers use the same typography, image treatment, and content rhythm. */
.company-home #main > .service-chapter {
  padding-block: clamp(56px, 7svh, 96px);
  border-top: 1px solid var(--line);
}

.company-home .service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

.company-home .service-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #214b2d;
  border-radius: 18px;
  background: #03120b;
  box-shadow: 0 20px 50px #103c231a;
  isolation: isolate;
}

.company-home .service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #01130c85, transparent 30%);
  pointer-events: none;
}

.company-home .service-visual > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.company-home .service-image-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  max-width: calc(100% - 40px);
  padding: 7px 10px;
  border: 1px solid #8fff652e;
  border-radius: 5px;
  background: #04160ddd;
  color: #bdffa7;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 1px;
}

.company-home .service-content { min-width: 0; }

.company-home .service-content > .eyebrow {
  margin-bottom: 16px;
  color: var(--green-ink);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.4px;
}

.company-home #main > .service-chapter h2 {
  font-size: clamp(36px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.6px;
  text-wrap: balance;
}

.company-home .service-summary {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.company-home .service-list-title {
  margin: 28px 0 16px;
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.company-home .service-deliverables { display: grid; gap: 17px; }

.company-home .service-deliverables > li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.company-home .service-deliverables .icon {
  width: 20px;
  height: 20px;
  color: var(--green-ink);
  margin-top: 1px;
  stroke-width: 2;
}

.company-home .service-deliverables strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
  margin-bottom: 3px;
}

.company-home .service-example {
  margin-top: 26px;
  padding: 13px 16px;
  border-left: 2px solid var(--green);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
}

.company-home .service-example > strong {
  display: block;
  margin-bottom: 3px;
  color: var(--green-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.company-home .service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 25px;
}

.company-home .service-actions > .button {
  min-height: 48px;
  max-width: 100%;
  font-size: 13px;
  padding-inline: 23px;
  white-space: normal;
  text-align: center;
}

.company-home .service-actions > .text-link { min-height: 44px; font-size: 13px; }
.company-home .service-reverse .service-visual { grid-area: 1 / 2; }
.company-home .service-reverse .service-content { grid-area: 1 / 1; }

/* Four delivery steps retain the established connected WS diagram. */
.company-home .delivery-workflow .workflow-layout {
  grid-template-columns: minmax(0, 27fr) minmax(0, 73fr);
  gap: 32px 0;
}

.company-home .delivery-workflow .workflow-copy { padding-right: 40px; }
.company-home .delivery-workflow .workflow-copy > p:not(.eyebrow) { max-width: 320px; }
.company-home .delivery-diagram {
  height: 300px;
  min-height: 0;
  grid-template-columns: minmax(0, 29fr) minmax(0, 42fr) minmax(0, 29fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 28px 0;
}

.company-home .delivery-diagram::before { content: none; display: none; }
.company-home .delivery-diagram .workflow-connections { display: block; }
.company-home .delivery-diagram .node-understand { grid-area: 1 / 1; }
.company-home .delivery-diagram .node-design { grid-area: 2 / 1; }
.company-home .delivery-diagram .node-build { grid-area: 1 / 3; }
.company-home .delivery-diagram .node-support { grid-area: 2 / 3; }
.company-home .delivery-diagram .process-core { grid-area: 1 / 2 / 3 / 3; }
.company-home .delivery-diagram .node-build > i,
.company-home .delivery-diagram .node-support > i { left: -6px; right: auto; }

.company-home .delivery-workflow .agent-detail {
  min-height: 0;
  margin-top: 24px;
  padding: 22px;
}

.company-home .delivery-workflow .agent-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-home .delivery-workflow .agent-flow dd { font-size: 14px; }
.company-home .delivery-workflow .workflow-outcome { max-width: none; }

/* Streamlined company footer, shared with the full service pages. */
.company-home .footer-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.company-home .footer-brand { display: block; grid-column: auto; }
.company-home .footer-brand > p { max-width: 270px; font-size: 13px; text-align: left; }
.company-home .footer-column { padding: 0; gap: 8px; }
.company-home .footer-column h3,
.company-home .footer-contact h3 { font-size: 14px; margin-bottom: 10px; }
.company-home .footer-column a,
.company-home .footer-column button { font-size: 12px; min-height: 28px; }
.company-home .footer-contact { min-width: 0; }
.company-home .footer-contact > .button { font-size: 12px; min-height: 44px; padding-inline: 18px; margin-top: 14px; }
.company-home .footer-contact > p,
.company-home .footer-contact > small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 270px;
}

.content-page .cp-footer .cp-footer-inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr);
  align-items: start;
  gap: 32px 48px;
}

.content-page .cp-footer-company > p { margin-top: 15px; max-width: 290px; font-size: 13px; }
.content-page .cp-footer-services,
.content-page .cp-footer-company-nav { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.content-page .cp-footer-services h3,
.content-page .cp-footer-company-nav h3 { font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.content-page .cp-footer-services a,
.content-page .cp-footer-company-nav a { display: inline-flex; align-items: center; min-height: 28px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.content-page .cp-footer .cp-footer-inner > small { grid-column: 1 / -1; font-size: 11px; }

@media (min-width: 901px) {
  .company-home .hero-art { height: clamp(440px, 56svh, 600px); }
}

@media (max-width: 1100px) {
  .company-home .hero h1 { font-size: clamp(45px, 5vw, 58px); letter-spacing: -2.3px; }
  .company-home .hero-lead { font-size: 21px; }
  .company-home .service-jump { padding: 15px 13px; gap: 9px; }
  .company-home .service-jump strong { font-size: 13px; }
  .company-home .service-layout { gap: 38px; }
  .company-home .service-deliverables { gap: 14px; }
  .company-home .service-summary { font-size: 15px; }
  .company-home .delivery-workflow .workflow-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .company-home .delivery-workflow .workflow-copy { padding: 0; }
  .company-home .delivery-workflow .workflow-copy > p:not(.eyebrow) { max-width: none; }
  .company-home .delivery-workflow .agent-detail { min-height: 0; }
  .company-home .footer-layout { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
  .company-home .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
  .company-home .footer-contact > h3 { grid-area: 1 / 1; margin: 0; }
  .company-home .footer-contact > .button { grid-area: 1 / 2 / 3 / 3; margin: 0; }
  .company-home .footer-contact > p,
  .company-home .footer-contact > small { margin: 0; max-width: 420px; }
  .company-home .footer-contact > p { grid-area: 2 / 1; }
  .company-home .footer-contact > small { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .company-home .hero h1 { font-size: clamp(38px, 5.4vw, 48px); letter-spacing: -1.9px; }
  .company-home .hero-lead { font-size: 19px; }
  .company-home .hero-description { font-size: 15px; }
  .company-home .service-jump-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-home .service-jump { min-height: 66px; padding: 15px 18px; gap: 12px; }
  .company-home .service-jump strong { font-size: 14px; }
  .company-home .service-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .company-home .service-visual { width: 100%; max-width: 760px; margin-inline: auto; }
  .company-home .service-visual > img { aspect-ratio: 1.9; }
  .company-home .service-content { max-width: 760px; width: 100%; margin-inline: auto; }
  .company-home .service-reverse .service-visual,
  .company-home .service-reverse .service-content { grid-area: auto; }
  .company-home .service-summary { font-size: 16px; }
  .company-home .service-deliverables > li { font-size: 15px; }
  .company-home .service-example { font-size: 14px; }
  .company-home .service-actions { gap: 14px 24px; }
  .content-page .cp-footer .cp-footer-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 28px; }
}

@media (max-width: 700px) {
  .company-home #main > .hero { padding-block: 30px; row-gap: 28px; }
  .company-home .hero h1 { font-size: clamp(44px, 8vw, 58px); letter-spacing: -2px; margin-bottom: 18px; }
  .company-home .hero-lead { font-size: 21px; line-height: 1.4; max-width: 510px; }
  .company-home .hero-description { font-size: 15px; }
  .company-home .hero-actions { margin-top: 24px; }
  .company-home .service-overview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .company-home .service-overview-heading { display: block; }
  .company-home .service-overview > p,
  .company-home .service-overview-heading > p { text-align: left; font-size: 13px; max-width: 500px; margin-top: 6px; }
  .company-home .service-jump-grid { margin-top: 8px; gap: 10px; }
  .company-home .service-jump { min-height: 76px; padding: 14px 12px; gap: 9px; }
  .company-home .service-jump-number { font-size: 10px; }
  .company-home .service-jump strong { font-size: 13px; }
  .company-home .service-jump > .icon { width: 16px; height: 16px; }
  .company-home #main > .service-chapter { padding-block: 44px; }
  .company-home .service-layout { gap: 30px; }
  .company-home #main > .service-chapter h2 { font-size: 36px; letter-spacing: -1.3px; }
  .company-home .service-content > .eyebrow { margin-bottom: 13px; }
  .company-home .service-list-title { margin-top: 24px; }
  .company-home .delivery-workflow .workflow-copy { display: block; }
  .company-home .delivery-workflow .workflow-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; }
  .company-home .delivery-workflow .workflow-copy .button { margin-top: 22px; }
  .company-home .delivery-diagram { height: auto; min-height: 420px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 156px repeat(2, 120px); gap: 12px 22px; }
  .company-home .delivery-diagram .process-core { grid-area: 1 / 1 / 2 / 3; width: 130px; max-width: 130px; margin-top: 7px; align-self: start; }
  .company-home .delivery-diagram .node-understand { grid-area: 2 / 1; }
  .company-home .delivery-diagram .node-design { grid-area: 3 / 1; }
  .company-home .delivery-diagram .node-build { grid-area: 2 / 2; }
  .company-home .delivery-diagram .node-support { grid-area: 3 / 2; }
  .company-home .delivery-diagram .agent-node { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px; align-items: center; padding: 12px 10px; }
  .company-home .delivery-diagram .agent-node-icon { grid-area: 1 / 1; width: 28px; height: 28px; }
  .company-home .delivery-diagram .agent-node-icon .icon { width: 19px; height: 19px; }
  .company-home .delivery-diagram .agent-node > span:last-of-type { display: contents; }
  .company-home .delivery-diagram .agent-node strong { grid-area: 1 / 2; font-size: 12px; line-height: 1.3; }
  .company-home .delivery-diagram .agent-node small { grid-area: 2 / 1 / 3 / 3; font-size: 12px; line-height: 1.4; margin: 0; }
  .company-home .delivery-diagram .agent-node small br { display: none; }
  .company-home .delivery-diagram .agent-node > i { right: -5px; top: calc(50% - 4px); width: 7px; height: 7px; border-width: 2px; }
  .company-home .delivery-diagram .node-build > i,
  .company-home .delivery-diagram .node-support > i { left: -5px; right: auto; }
  .company-home .delivery-workflow .agent-flow { gap: 20px; }
  .company-home .delivery-workflow .agent-flow > div { display: block; }
  .company-home .delivery-workflow .agent-flow dt { margin-bottom: 7px; }
  .company-home .footer-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
  .company-home .footer-brand { grid-column: 1 / -1; }
  .company-home .footer-contact { display: block; }
  .company-home .footer-contact > .button { margin-top: 14px; }
  .company-home .footer-contact > p,
  .company-home .footer-contact > small { margin-top: 12px; max-width: 420px; }
  .content-page .cp-footer .cp-footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
  .content-page .cp-footer-company { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .company-home .hero h1 { font-size: clamp(40px, 11vw, 52px); letter-spacing: -1.9px; }
  .company-home .hero-lead { font-size: 20px; letter-spacing: -.4px; }
  .company-home .hero-description { font-size: 14px; line-height: 1.65; }
  .company-home .hero-actions .button { min-height: 46px; font-size: 11px; }
  .company-home .service-jump { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; min-height: 93px; padding: 13px; }
  .company-home .service-jump-number { grid-column: 1; }
  .company-home .service-jump strong { grid-column: 1; font-size: 13px; }
  .company-home .service-jump > .icon { grid-column: 2; grid-row: 1 / 3; }
  .company-home #main > .service-chapter { padding-block: 36px; }
  .company-home .service-visual { border-radius: 13px; }
  .company-home .service-visual > img { aspect-ratio: 1.65; }
  .company-home .service-image-label { left: 13px; bottom: 13px; max-width: calc(100% - 26px); font-size: 9px; letter-spacing: .7px; padding: 6px 8px; }
  .company-home #main > .service-chapter h2 { font-size: 32px; line-height: 1.12; letter-spacing: -1.15px; }
  .company-home .service-summary { margin-top: 16px; font-size: 15px; }
  .company-home .service-deliverables { gap: 17px; }
  .company-home .service-deliverables > li { gap: 10px; font-size: 14px; line-height: 1.6; }
  .company-home .service-deliverables strong { font-size: 15px; }
  .company-home .service-example { font-size: 13px; margin-top: 24px; padding: 13px 14px; }
  .company-home .service-actions { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 22px; }
  .company-home .service-actions > .button { min-height: 48px; font-size: 12px; }
  .company-home .service-actions > .text-link { font-size: 13px; }
  .company-home .delivery-workflow .agent-detail { padding: 20px; }
  .company-home .delivery-workflow .agent-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .company-home .delivery-workflow .agent-flow dd { font-size: 14px; }
  .company-home .delivery-workflow .agent-selected-label { font-size: 9px; letter-spacing: 1px; }
  .company-home .footer-column a,
  .company-home .footer-column button { min-height: 36px; font-size: 12px; }
  .company-home .footer-bottom > div { flex-wrap: wrap; gap: 12px 18px; }
  .content-page .cp-footer-services a,
  .content-page .cp-footer-company-nav a { min-height: 36px; }
}

@media (max-width: 360px) {
  .company-home .hero h1 { font-size: 38px; letter-spacing: -1.7px; }
  .company-home .service-jump { padding: 12px 10px; }
  .company-home .service-jump strong { font-size: 12px; }
  .company-home .delivery-diagram { column-gap: 18px; }
  .company-home .delivery-diagram .agent-node { padding-inline: 9px; }
  .company-home .delivery-diagram .agent-node strong { font-size: 11px; }
}
