/* Connected packaging pre-production positioning — 2026-09-27 */

.homepage .hero-copy > .hero-kicker {
  margin: 0 0 22px;
  color: #59635a;
  font: 700 11px/1.35 var(--font-mono);
  letter-spacing: .14em;
}

.homepage .hero-copy > h1 {
  max-width: 820px;
  font-size: clamp(53px, 6.2vw, 91px);
}

.homepage .hero-value-line {
  margin: 20px 0 0;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.45;
}

.homepage .connected-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.homepage .hero-workflow-link {
  color: var(--ink);
  font: 700 12px/1.4 var(--font-mono);
  letter-spacing: .02em;
  text-underline-offset: 5px;
}

.homepage .trust-chain > strong {
  max-width: 650px;
}

.homepage .credibility-anchor-section {
  padding: 0 0 clamp(72px, 7vw, 104px);
}

.homepage .credibility-anchor-section .trust-layer {
  margin-top: 0;
}

/* The dropdown numbers follow the production stages instead of list position. */
.desktop-nav .nav-dropdown-menu a,
.mobile-nav nav .mobile-services-links a {
  grid-template-columns: 42px minmax(0, 1fr);
}

.desktop-nav .nav-dropdown-menu a::before,
.mobile-nav nav .mobile-services-links a::before {
  content: attr(data-stage);
}

/* Six-stage workflow */
.connected-workflow-section {
  position: relative;
  overflow: hidden;
  background: #111512;
  color: #f7f8f3;
}

.connected-workflow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(177,232,14,.08), transparent 38%);
}

.connected-workflow-heading {
  position: relative;
}

.connected-workflow-heading .eyebrow,
.connected-workflow-heading > p {
  color: #b9c1ba;
}

.connected-workflow-heading h2 {
  color: #fff;
}

.workflow-stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.24);
  border-left: 1px solid rgba(255,255,255,.24);
}

.workflow-stage-card {
  position: relative;
  min-width: 0;
  min-height: 425px;
  padding: 25px 26px 28px;
  border-right: 1px solid rgba(255,255,255,.24);
  border-bottom: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.025);
  transition: background 220ms ease, transform 220ms ease;
}

.workflow-stage-card:hover {
  z-index: 2;
  background: rgba(177,232,14,.075);
  transform: translateY(-2px);
}

.workflow-stage-number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--signal);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .12em;
}

.workflow-stage-card img {
  display: block;
  width: min(100%, 224px);
  height: auto;
  margin: 11px 0 25px;
  padding: 0;
  background: #f7f8f3;
  filter: none;
  opacity: .9;
}

.workflow-stage-name {
  margin: 0 0 12px;
  color: var(--signal);
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: .14em;
}

.workflow-stage-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.workflow-stage-card > p:not(.workflow-stage-name) {
  margin: 17px 0 22px;
  color: #c7cec8;
  font-size: 15px;
  line-height: 1.58;
}

.workflow-stage-card > strong {
  display: block;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(177,232,14,.36);
  color: #fff;
  font: 700 11px/1.45 var(--font-mono);
  letter-spacing: .02em;
}

.workflow-start-anywhere {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0 0;
}

.workflow-start-anywhere p {
  max-width: 850px;
  margin: 0;
  color: #dce1dd;
  font-size: 17px;
  line-height: 1.6;
}

.workflow-start-anywhere a {
  color: var(--signal);
  font: 700 11px/1.4 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-underline-offset: 5px;
}

/* Stage-led deliverables */
.connected-services-heading > div {
  max-width: 720px;
}

.connected-services-heading .eyebrow {
  margin-bottom: 14px;
}

.stage-deliverables {
  border-top: 1px solid var(--ink);
}

.deliverable-stage {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.55fr);
  gap: clamp(34px, 5vw, 78px);
  padding: clamp(36px, 5vw, 62px) 0;
  border-bottom: 1px solid var(--premium-line-strong);
}

.deliverable-stage-label {
  align-self: start;
}

.deliverable-stage-label > span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 8px;
  border: 1px solid var(--ink);
  background: var(--signal);
  font: 700 9px/1 var(--font-mono);
  letter-spacing: .1em;
}

.deliverable-stage-label h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.deliverable-stage-label p {
  margin: 16px 0 0;
  color: #4b554c;
  line-height: 1.6;
}

.deliverable-stage-services {
  display: grid;
  gap: 15px;
}

.deliverable-entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(112px, auto);
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 22px 22px 22px 18px;
  border: 1px solid var(--premium-line-strong);
  background: #fff;
  box-shadow: 3px 3px 0 rgba(12,15,13,.08);
}

.deliverable-entry:hover {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(177,232,14,.62);
}

.deliverable-entry img {
  display: block;
  width: 150px;
  height: auto;
}

.deliverable-entry h4 {
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.deliverable-entry h4 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.deliverable-entry div > p {
  margin: 10px 0 0;
  color: #4b554c;
  font-size: 15px;
  line-height: 1.55;
}

.deliverable-price {
  margin: 0;
  text-align: right;
}

.deliverable-price strong,
.deliverable-price span {
  display: block;
}

.deliverable-price strong {
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1;
  white-space: nowrap;
}

.deliverable-price span {
  margin-top: 8px;
  color: #59635a;
  font: 600 9px/1.35 var(--font-mono);
  letter-spacing: .03em;
}

.deliverable-badge {
  display: inline-block;
  margin-top: 11px;
  padding: 5px 7px;
  background: var(--signal);
  color: var(--ink);
  font: 700 9px/1.2 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.connected-combine-offer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 60px);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--ink);
  background: var(--signal);
}

.connected-combine-offer > img {
  display: block;
  width: 180px;
  height: auto;
}

.connected-combine-offer h3 {
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.connected-combine-offer p {
  margin: 13px 0 0;
  max-width: 740px;
  line-height: 1.55;
}

.connected-combine-offer .button {
  white-space: nowrap;
}

/* Compact workflow + problem hub */
.merged-solutions-section {
  position: relative;
  overflow: hidden;
  background: #eef1e9;
  color: var(--ink);
}

.merged-solutions-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(177,232,14,.13), transparent 42%);
}

.merged-solutions-section .shell {
  position: relative;
}

.merged-solutions-heading h2 {
  max-width: 760px;
  color: var(--ink);
}

.merged-solutions-heading .eyebrow,
.merged-solutions-heading > p {
  color: #59635a;
}

.solution-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--premium-line-strong);
  border-left: 1px solid var(--premium-line-strong);
}

.solution-path-card {
  min-width: 0;
  padding: 22px 23px 24px;
  border-right: 1px solid var(--premium-line-strong);
  border-bottom: 1px solid var(--premium-line-strong);
  background: rgba(255,255,255,.78);
}

.solution-path-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.solution-path-top > span {
  padding: 5px 7px;
  border: 1px solid var(--ink);
  background: var(--signal);
  color: var(--ink);
  font: 700 10px/1.3 var(--font-mono);
  letter-spacing: .12em;
  white-space: nowrap;
}

.solution-path-top img {
  display: block;
  width: 112px;
  height: 58px;
  object-fit: cover;
  background: #f7f8f3;
}

.solution-path-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.solution-path-card > p {
  margin: 13px 0 19px;
  color: #4b554c;
  font-size: 14px;
  line-height: 1.52;
}

.solution-problem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.solution-problem-links a {
  padding: 6px 8px;
  border: 1px solid #c3c9c1;
  background: #f8f9f5;
  color: #323a34;
  font: 600 10px/1.25 var(--font-mono);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.solution-problem-links a:hover,
.solution-problem-links a:focus-visible {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.merged-solutions-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 30px;
}

.merged-solutions-action p {
  margin: 0;
  color: #475148;
  font-size: 16px;
}

.merged-solutions-action .button {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
  white-space: nowrap;
}

/* Consistent scope summary on service pages */
.service-scope-overview {
  padding: 0 0 clamp(54px, 6vw, 82px);
  border-bottom: 1px solid var(--premium-line-strong);
}

.service-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.service-scope-item {
  min-width: 0;
  min-height: 168px;
  padding: 23px 21px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: #fff;
}

.service-scope-item:first-child {
  background: var(--signal);
}

.service-scope-item span {
  display: block;
  margin-bottom: 18px;
  color: #59635a;
  font: 700 9px/1.2 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-scope-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.12;
}

.service-scope-item h3 {
  margin: 0 0 13px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.service-scope-item p {
  margin: 0;
  color: #3f4841;
  font-size: 14px;
  line-height: 1.55;
}

.handover-boundary {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 5px solid var(--signal);
  background: #f3f4ee;
  color: #303832;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .workflow-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deliverable-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .deliverable-stage-label {
    max-width: 760px;
  }

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

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

@media (max-width: 900px) {
  .homepage .proof-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage .proof-story-step,
  .homepage .proof-story-step-product {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .homepage .hero-copy > h1 {
    font-size: clamp(45px, 13vw, 66px);
  }

  .homepage .connected-hero-actions {
    align-items: stretch;
  }

  .homepage .hero-workflow-link {
    padding: 8px 0;
    text-align: center;
  }

  .workflow-stage-grid {
    grid-template-columns: 1fr;
  }

  .workflow-stage-card {
    min-height: 0;
    padding: 23px 22px 25px;
  }

  .workflow-stage-card img {
    width: 190px;
  }

  .workflow-start-anywhere {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .deliverable-entry {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 17px;
    padding: 19px 17px;
  }

  .deliverable-entry img {
    width: 94px;
  }

  .deliverable-price {
    grid-column: 2;
    text-align: left;
  }

  .connected-combine-offer {
    grid-template-columns: 1fr;
  }

  .connected-combine-offer > img {
    width: 160px;
  }

  .connected-combine-offer .button {
    width: 100%;
  }

  .solution-path-grid {
    grid-template-columns: 1fr;
  }

  .solution-path-card {
    padding: 20px;
  }

  .solution-path-top img {
    width: 104px;
    height: 54px;
  }

  .merged-solutions-action {
    align-items: stretch;
    flex-direction: column;
  }

  .merged-solutions-action .button {
    width: 100%;
  }

  .service-scope-grid {
    grid-template-columns: 1fr;
  }

  .service-scope-item {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-stage-card,
  .deliverable-entry {
    transition: none;
  }
}

/* Hierarchy refinement — 2026-09-27 */

/* The deliverables menu is ordered like the page without visual numbering. */
.desktop-nav .nav-dropdown-menu a,
.mobile-nav nav .mobile-services-links a {
  grid-template-columns: minmax(0, 1fr);
}

.desktop-nav .nav-dropdown-menu a::before,
.mobile-nav nav .mobile-services-links a::before {
  content: none;
  display: none;
}

/* Shorter hero proposition with more space around the primary message. */
.homepage .hero-copy > h1 {
  max-width: 690px;
  font-size: clamp(54px, 5.45vw, 78px);
  line-height: .96;
  letter-spacing: -.058em;
}

.homepage .hero-copy > .hero-body {
  max-width: 650px;
  margin-top: 26px;
}

/* Dark audience section: clear contrast, restrained production-green depth. */
.homepage .support-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 14%, rgba(177, 232, 14, .095), transparent 31%),
    radial-gradient(circle at 92% 86%, rgba(177, 232, 14, .055), transparent 34%),
    #101411;
  color: #f7f8f3;
}

.homepage .support-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(177, 232, 14, .035), transparent 34%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 92%);
}

.homepage .support-section .shell {
  position: relative;
  z-index: 1;
}

.homepage .support-section .section-heading h2 {
  color: #fff;
}

.homepage .support-section .section-heading .lead {
  color: #bdc6be;
}

.homepage .support-section .support-grid {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .018);
}

.homepage .support-section .support-card,
.homepage .support-section .support-card:nth-child(2),
.homepage .support-section .support-card:nth-child(3) {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .026);
  color: #fff;
  box-shadow: none;
}

.homepage .support-section .support-card + .support-card {
  border-color: rgba(255, 255, 255, .2);
}

.homepage .support-section .support-card:hover {
  border-color: rgba(177, 232, 14, .65);
  background: rgba(177, 232, 14, .048);
  box-shadow: inset 0 -4px 0 rgba(177, 232, 14, .72);
}

.homepage .support-section .support-card h3,
.homepage .support-section .support-card:nth-child(3) h3,
.homepage .support-section .support-card .card-lead,
.homepage .support-section .support-card:nth-child(3) .card-lead {
  color: #fff;
}

.homepage .support-section .support-card p,
.homepage .support-section .support-card .support-bullets li,
.homepage .support-section .support-card:nth-child(3) p,
.homepage .support-section .support-card:nth-child(3) .support-bullets li {
  color: #bdc6be;
}

.homepage .support-section .support-bullets li::before,
.homepage .support-section .support-card:nth-child(3) .support-bullets li::before {
  background: var(--signal);
}

.homepage .support-section .support-card .audience-icon {
  width: 104px;
  height: 86px;
  padding: 7px;
  border: 1px solid rgba(177, 232, 14, .34);
  background: #f7f8f3;
  opacity: .96;
}

.homepage .support-section .card-note,
.homepage .support-section .support-card:nth-child(3) .card-note {
  border-color: rgba(255, 255, 255, .2);
  color: var(--signal);
}

@media (max-width: 760px) {
  .homepage .hero-copy > h1 {
    font-size: clamp(47px, 13.5vw, 64px);
  }

  .homepage .support-section .support-card .audience-icon {
    width: 94px;
    height: 78px;
  }
}

/* Audience illustrations are drawn for the dark section instead of sitting on white tiles. */
.homepage .support-section .support-card .audience-icon {
  width: 96px;
  height: 80px;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 0 16px rgba(177, 232, 14, .08));
}

@media (max-width: 760px) {
  .homepage .support-section .support-card .audience-icon {
    width: 88px;
    height: 74px;
  }
}
