.interior-hero { position: relative; isolation: isolate; overflow: clip; }
.interior-copy { position: relative; z-index: 1; }
.interior-copy h1 { font-size: clamp(2.8rem, 5vw, 4.9rem); font-weight: 830; line-height: 1.01; letter-spacing: -.065em; }
.interior-copy h1 span {
  display: block;
  padding-bottom: .07em;
  color: var(--cyan);
  background: var(--heading-accent);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.interior-lead { max-width: 32rem; margin-top: .8rem; font-size: clamp(1.13rem, 1.72vw, 1.48rem); font-weight: 620; line-height: 1.39; letter-spacing: -.02em; }
.interior-description { max-width: 32rem; margin-top: .75rem; color: var(--muted); }
.interior-copy > .button { margin-top: 1.4rem; }
.not-found-hero {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: radial-gradient(ellipse at 20% 10%, var(--hero-glow), transparent 63%);
}
.contact-section .closing > h2 + .button { margin-top: 1.15rem; }

.about-scene { object-position: center 57%; }
.about-hero h1 { max-width: 46rem; font-size: clamp(2.7rem, 4.75vw, 4.62rem); }
.about-hero .interior-lead, .about-hero .interior-description { max-width: 29rem; }
.about-method { display: grid; grid-template-columns: .96fr 1.04fr; align-items: stretch; gap: clamp(1rem, 2.3vw, 2rem); }
.about-method .method-statement {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3.2vw, 3rem);
  border-color: #2e8aa3;
  background: var(--catalog-review-background);
}
.method-statement::after {
  position: absolute;
  z-index: -1;
  right: -17%;
  bottom: -41%;
  width: 115%;
  height: 70%;
  transform: rotate(-14deg);
  background: radial-gradient(circle, #36ddf0 1px, transparent 1.3px) 0 0 / 7px 7px;
  mask-image: radial-gradient(ellipse, #000, transparent 68%);
  content: '';
}
.method-statement > .icon { width: 3.05rem; height: 3.05rem; margin-bottom: .85rem; color: var(--cyan); }
.method-statement p { max-width: 25rem; margin-top: .85rem; color: #dae7f4; font-size: clamp(1.02rem, 1.48vw, 1.21rem); }
.method-list { display: grid; gap: .78rem; }
.method-item { display: flex; align-items: center; gap: 1rem; padding: clamp(.9rem, 1.7vw, 1.3rem); }
.method-item p { margin-top: .32rem; color: var(--muted); }

.services-hero .interior-copy { width: min(100%, 36rem); }
.services-hero h1 { font-size: clamp(2.75rem, 4.55vw, 4.65rem); }
.services-hero .interior-lead { max-width: 26rem; }
.services-scene { object-position: 73% 63%; }
.service-connections { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.15rem; }
.service-connections li {
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .4rem .58rem;
  border: 1px solid #3680a6;
  border-radius: .45rem;
  background: var(--callout-background);
  font-size: .83rem;
  font-weight: 680;
}
.service-connections .icon { width: 1rem; height: 1rem; color: var(--cyan); }
.services-offerings { margin-top: clamp(1.2rem, 3vw, 2.45rem); }
.project-scope { padding: clamp(1rem, 2.6vw, 2rem); }
.project-scope p, .process-intro { max-width: 75ch; color: var(--muted); }
.project-scope p + p, .next-steps p { margin-top: .75rem; }
.process-intro { margin-bottom: 1.2rem; }

.development-container { width: min(94%, 88rem); }
.development-hero { position: relative; isolation: isolate; display: grid; background: var(--background); overflow: clip; }
.development-hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.development-hero::after {
  position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none;
  background: linear-gradient(90deg, #03111c 2%, #03111cde 17%, #03111c77 37%, transparent 53%, transparent 78%, #03111c66),
    linear-gradient(0deg, #03111c, transparent 22%);
}
.development-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(12rem, 21vw, 18.5rem);
  align-items: center; column-gap: 1.5rem; min-height: clamp(23.5rem, 34vw, 33rem);
  padding: clamp(1.65rem, 3.2vw, 3.3rem) clamp(.15rem, 1.5vw, 1.4rem);
}
.development-hero .interior-copy { max-width: min(41vw, 35rem); }
.development-hero h1 { font-size: clamp(2.55rem, 4.55vw, 4.5rem); }
.development-hero-description { max-width: 27.5rem; margin-top: .7rem; font-size: clamp(1.03rem, 1.38vw, 1.35rem); line-height: 1.37; }
.development-hero .hero-actions { column-gap: .6rem; margin-top: 1rem; }
.development-hero-features { display: grid; gap: .6rem; }
.development-hero-features li {
  display: grid; grid-template-columns: clamp(1.55rem, 3vw, 2.6rem) minmax(0, 1fr); align-items: center; gap: .6rem;
  min-height: 4.25rem; padding: .55rem .7rem; border: 1px solid #39d8ef; border-radius: .75rem;
  background: var(--callout-background);
  box-shadow: inset 0 0 1.35rem #0595d93d, 0 0 .9rem #0dc5f255;
}
.development-hero-features li:nth-child(2) { border-color: #1de7e4; }
.development-hero-features .icon { width: 100%; height: clamp(1.55rem, 3vw, 2.6rem); color: #26e8f2; }
.development-hero-features strong { font-size: clamp(.92rem, 1.36vw, 1.2rem); line-height: 1.2; }
.development-hero-features p { margin-top: .12rem; color: #e5f4fa; font-size: clamp(.77rem, 1.02vw, .97rem); line-height: 1.27; }

.development-section { margin-top: clamp(1.15rem, 2.2vw, 2.35rem); }
.development-hero + .development-section { margin-top: .2rem; }
.development-heading {
  display: flex; align-items: center; justify-content: center; gap: clamp(.5rem, 2vw, 1.5rem);
  margin: 0 0 .8rem; text-align: center; font-size: clamp(1.5rem, 2.85vw, 2.7rem);
}
.development-heading::before, .development-heading::after { content: ''; flex: 1 1 1rem; max-width: 5rem; height: 1px; background: linear-gradient(90deg, transparent, #36eaf3); }
.development-heading::after { transform: scaleX(-1); }
.development-section-intro { max-width: 48rem; margin: 0 auto .85rem; color: var(--muted); text-align: center; }

.development-benefits, .development-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.15rem); }
.development-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .62rem clamp(.65rem, 1.3vw, 1.1rem); }
.development-benefit, .development-capability, .development-platform, .development-project { padding: clamp(.8rem, 1.28vw, 1.22rem); }
.development-benefit { display: grid; grid-template-columns: 2.15rem minmax(0, 1fr); align-items: center; gap: .55rem .65rem; }
.development-benefit > .icon, .development-market-list .icon { width: 100%; color: var(--cyan); }
.development-benefit > .icon { height: 2.15rem; }
.development-market-list .icon { height: 1.65rem; }
.development-benefit p { grid-column: 1 / -1; }
.development-capability { display: flex; align-items: flex-start; gap: .75rem; }
.development-capability .icon-tile { width: clamp(2.7rem, 4.2vw, 3.6rem); height: clamp(2.7rem, 4.2vw, 3.6rem); }
.development-benefit h3, .development-capability h3, .development-market-list h3, .development-platform h3, .development-process h3 { font-size: clamp(1rem, 1.45vw, 1.36rem); line-height: 1.18; }
.development-benefit p, .development-capability p, .development-market-list p, .development-platform p { color: #d9ebf8; font-size: clamp(.84rem, 1.03vw, .99rem); line-height: 1.35; }
.development-capability p, .development-platform p, .development-project p { margin-top: .32rem; }
.development-related { margin-top: .65rem; color: var(--muted); }
.development-section a { color: var(--link); text-decoration: underline; text-underline-offset: .17em; }

.development-operations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.65rem); }
.development-operations > img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 2; object-fit: cover; border-radius: 1rem; }
.development-market-list { display: grid; gap: .38rem; }
.development-market-list li {
  display: grid; grid-template-columns: 1.75rem minmax(6.5rem, .8fr) minmax(0, 1.2fr); align-items: center;
  column-gap: .65rem; padding: .42rem .72rem;
}

.development-process { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.development-process .process-top > .icon { color: #21e5ed; }
.development-process .process-top::after { background: linear-gradient(90deg, transparent, #2cf5ee); }
.development-project { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(.85rem, 2.2vw, 1.8rem); }
.development-project .eyebrow { margin-top: 0; margin-bottom: .35rem; }
.development-project h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); }
.development-project figure { margin: 0; padding-inline-start: 1rem; border-inline-start: 2px solid #50d8e9; }
.development-project blockquote { margin: 0; font-size: clamp(.96rem, 1.45vw, 1.15rem); }
.development-project figcaption { margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.development-page .contact-section { margin-top: clamp(1.35rem, 2.45vw, 2.7rem); }

@media (max-width: 900px) {
  .development-benefits, .development-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .development-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .development-hero-grid { display: contents; }
  .development-hero::after { display: none; }
  .development-hero .interior-copy, .development-hero-features { width: min(94%, 36rem); margin-inline: auto; }
  .development-hero .interior-copy { grid-row: 1; max-width: none; padding-block: 1.6rem .25rem; }
  .development-hero-art { grid-row: 2; position: static; z-index: auto; height: auto; aspect-ratio: 2.35; object-position: 70% center; }
  .development-hero-features { grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin-bottom: 1rem; }
  .development-operations, .development-project { grid-template-columns: minmax(0, 1fr); }
  .development-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .development-hero-features, .development-capabilities { grid-template-columns: minmax(0, 1fr); }
  .development-hero-features li { min-height: 3.6rem; }
  .development-heading::before, .development-heading::after { display: none; }
  .development-benefit { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .development-benefit > .icon { width: 1.55rem; height: 1.55rem; }
  .development-market-list li { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .development-market-list p { grid-column: 2; }
}

.service-detail-hero { background: radial-gradient(ellipse at 75% 28%, var(--hero-glow), transparent 70%); }
.service-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 4.5vw, 4rem);
}
.service-detail-hero h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
.service-detail-hero--long h1 { font-size: clamp(2rem, 4vw, 4rem); }
.service-detail-hero .hero-actions { margin-top: 1.15rem; }
.service-detail-hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1.75;
  object-fit: cover;
  object-position: 64% center;
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.service-example-steps { display: grid; gap: .45rem; }
.service-example-steps > div {
  display: grid;
  grid-template-columns: minmax(7rem, .45fr) minmax(0, 1fr);
  gap: .3rem .8rem;
  padding: .6rem .75rem;
  border: 1px solid var(--border);
  border-radius: .45rem;
  background: var(--surface-inset);
}
.service-example-steps dt { color: var(--link); font-weight: 710; }
.service-example-steps dd { color: #d9ebf8; }
:is(#service-example, #what-we-modernize, #commerce-platforms, #platform-options, #catalog-enrichment, #product-discovery, #order-handoff, #project-form, #how-we-work, #how-we-scope-projects, .sector-card[id]) { scroll-margin-top: 5.25rem; }

@media (max-width: 760px) {
  .service-detail-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .service-example-steps > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .service-detail-hero h1 { font-size: 2rem; }
}

.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3.2vw, 3.2rem); }
.workflow-step { position: relative; min-width: 0; }
.workflow-step:not(:last-child)::after {
  position: absolute;
  top: 44%;
  left: calc(100% + clamp(.3rem, 1vw, 1rem));
  width: .72rem;
  height: .72rem;
  transform: rotate(45deg);
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  filter: drop-shadow(0 0 .3rem #20dfed);
  content: '';
}
.workflow-image { aspect-ratio: 1.6; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: url('/assets/service-steps.webp') no-repeat 0 50% / 300% auto; filter: var(--photo-filter); }
.workflow-image--warehouse { background-position: 50% 55%; }
.workflow-image--shipment { background-position: 100% 57%; }
.workflow-step h3 { display: flex; align-items: center; gap: .7rem; padding: 1rem; letter-spacing: -.024em; }
.workflow-step .icon { color: var(--cyan); }
.workflow-caption { margin-top: .85rem; color: var(--muted); text-align: center; }

.contact-hero .interior-lead { max-width: 26rem; }
.contact-scene { object-position: center 60%; }
.contact-project {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  grid-template-areas: "steps form";
  gap: clamp(1.15rem, 3.5vw, 3.15rem);
  align-items: start;
}
.next-steps { grid-area: steps; padding-top: clamp(1.05rem, 3.3vw, 2.65rem); }
.next-steps h2 { font-size: clamp(1.4rem, 2.65vw, 2.12rem); }
.next-steps ol { position: relative; display: grid; gap: .75rem; padding-left: .7rem; }
.next-steps ol::before { position: absolute; top: 1.26rem; bottom: 1.26rem; left: .2rem; width: 1px; background: #36d9df; content: ''; }
.next-steps li { position: relative; display: flex; align-items: center; gap: .83rem; font-size: clamp(.98rem, 1.5vw, 1.15rem); font-weight: 640; }
.next-steps li::before { position: absolute; left: -.75rem; width: .54rem; height: .54rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 .55rem #41eee6; content: ''; }
.next-steps li span { display: grid; flex: none; width: 2.65rem; height: 2.65rem; margin-left: .5rem; place-items: center; border: 1px solid #3da4b1; border-radius: 50%; background: var(--catalog-review-background); color: var(--cyan); }
.next-steps .icon { width: 1.35rem; height: 1.35rem; }
.project-form {
  grid-area: form;
  display: grid;
  gap: .95rem;
  padding: clamp(1.05rem, 3.3vw, 2.65rem);
  border-radius: 1rem;
}
.project-form.panel {
  border-color: #2ecbdf;
  background: var(--panel-background);
  box-shadow: var(--callout-accent-shadow);
}
.project-form h2 { font-size: clamp(1.55rem, 2.95vw, 2.5rem); }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; }
.form-fields label { display: flex; flex-wrap: wrap; align-items: start; gap: .36rem; min-width: 0; font-size: .98rem; font-weight: 650; }
.form-fields label span { color: var(--muted); font-weight: 450; }
.form-fields .full-field { grid-column: 1 / -1; }
.form-fields input, .form-fields select, .form-fields textarea {
  width: 100%;
  min-height: 2.78rem;
  padding: .61rem .7rem;
  border: 1px solid var(--control-border);
  border-radius: .4rem;
  background: var(--surface-inset);
  color: var(--ink);
  font: inherit;
  font-weight: 460;
}
.form-fields textarea { resize: vertical; }
.form-fields input::placeholder { color: #a5b5c9; }
.form-fields input:focus, .form-fields select:focus, .form-fields textarea:focus { border-color: var(--cyan); }
.form-note { color: var(--muted); font-size: .91rem; }
.project-submit { width: 100%; }
.form-feedback { padding: .65rem .85rem; border: 1px solid #348a83; border-radius: .44rem; background: #102f35; color: #b3f8ee; }
.form-feedback:empty { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.inquiry-guide { margin-bottom: clamp(1.2rem, 3vw, 2.7rem); }
.inquiry-tip { display: flex; align-items: center; gap: .82rem; padding: .9rem 1rem; font-weight: 650; }
.inquiry-tip .icon { color: var(--cyan); }

@media (max-width: 880px) {
  .services-hero h1 { font-size: clamp(2.5rem, 5.2vw, 3.4rem); }
  .contact-project { gap: 1rem; }
  .project-form { padding: 1.1rem; }
}

@media (max-width: 620px) {
  .interior-copy h1 { font-size: clamp(2.5rem, 10vw, 3.65rem); }
  .about-scene { height: auto; max-height: 22rem; margin-top: -.15rem; object-position: 60% 60%; }
  .about-method { grid-template-columns: 1fr; margin-top: 0; }
  .workflow-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .workflow-step:not(:last-child)::after { top: auto; bottom: -.83rem; left: calc(50% - .36rem); transform: rotate(135deg); }
  .workflow-image { aspect-ratio: 2.1; }
  .contact-project { grid-template-columns: minmax(0, 1fr); grid-template-areas: "form" "steps"; gap: 1.6rem; }
  .next-steps { padding-top: 0; }
  .next-steps ol { gap: .5rem; }
  .next-steps li span { width: 2.35rem; height: 2.35rem; }
  .form-fields { gap: .72rem .65rem; }
  .form-fields label { font-size: .94rem; }
}

@media (max-width: 390px) {
  .form-fields { grid-template-columns: 1fr; }
}
